mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 09:47:28 +00:00
test(telegram): align stop-phrase sequential key expectation (#25034)
This commit is contained in:
committed by
GitHub
parent
1237516ae8
commit
f6b4baa776
@@ -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" }),
|
||||
|
||||
Reference in New Issue
Block a user