Gateway chat tests: assert explicit deliver route context tagging

This commit is contained in:
Vincent Koc
2026-03-06 00:40:23 -05:00
parent ec08a8d6a1
commit 1abdf03fd3

View File

@@ -393,6 +393,7 @@ describe("chat directive tag stripping for non-streaming final payloads", () =>
expect.objectContaining({
OriginatingChannel: "telegram",
OriginatingTo: "telegram:6812765697",
ExplicitDeliverRoute: true,
AccountId: "default",
MessageThreadId: 42,
}),
@@ -566,6 +567,7 @@ describe("chat directive tag stripping for non-streaming final payloads", () =>
expect.objectContaining({
OriginatingChannel: "webchat",
OriginatingTo: undefined,
ExplicitDeliverRoute: false,
AccountId: undefined,
}),
);