Telegram tests: route Russian and German stop forms to control lane

This commit is contained in:
Vincent Koc
2026-02-24 01:02:50 -05:00
parent 1b57e2c52f
commit 1c189c4d5f

View File

@@ -184,6 +184,16 @@ describe("createTelegramBot", () => {
message: mockMessage({ chat: mockChat({ id: 123 }), text: "stop please" }),
}),
).toBe("telegram:123:control");
expect(
getTelegramSequentialKey({
message: mockMessage({ chat: mockChat({ id: 123 }), text: "остановись" }),
}),
).toBe("telegram:123:control");
expect(
getTelegramSequentialKey({
message: mockMessage({ chat: mockChat({ id: 123 }), text: "halt" }),
}),
).toBe("telegram:123:control");
expect(
getTelegramSequentialKey({
message: mockMessage({ chat: mockChat({ id: 123 }), text: "/abort" }),