Telegram tests: treat stop phrase as control lane

This commit is contained in:
Vincent Koc
2026-02-24 00:50:21 -05:00
parent 5351ee4de5
commit d34b511c2d

View File

@@ -183,7 +183,7 @@ describe("createTelegramBot", () => {
getTelegramSequentialKey({
message: mockMessage({ chat: mockChat({ id: 123 }), text: "stop please" }),
}),
).toBe("telegram:123");
).toBe("telegram:123:control");
expect(
getTelegramSequentialKey({
message: mockMessage({ chat: mockChat({ id: 123 }), text: "/abort" }),