



















@@ -18,9 +18,10 @@ describe("resolveReplyRoutingDecision", () => {
1818originatingTo: "telegram:123",
1919 isRoutableChannel,
2020}),
21-).toMatchObject({
21+).toEqual({
2222originatingChannel: "telegram",
2323currentSurface: "slack",
24+isInternalWebchatTurn: false,
2425shouldRouteToOriginating: true,
2526shouldSuppressTyping: true,
2627});
@@ -36,10 +37,12 @@ describe("resolveReplyRoutingDecision", () => {
3637originatingTo: "telegram:123",
3738 isRoutableChannel,
3839}),
39-).toMatchObject({
40+).toEqual({
41+originatingChannel: "telegram",
4042currentSurface: "webchat",
4143isInternalWebchatTurn: true,
4244shouldRouteToOriginating: false,
45+shouldSuppressTyping: false,
4346});
4447});
4548@@ -53,8 +56,10 @@ describe("resolveReplyRoutingDecision", () => {
5356suppressDirectUserDelivery: true,
5457 isRoutableChannel,
5558}),
56-).toMatchObject({
59+).toEqual({
60+originatingChannel: "telegram",
5761currentSurface: "discord",
62+isInternalWebchatTurn: false,
5863shouldRouteToOriginating: false,
5964shouldSuppressTyping: true,
6065});
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。