mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:20:43 +00:00
test: stabilize telegram command pagination retry
This commit is contained in:
@@ -3369,9 +3369,9 @@ describe("createTelegramBot", () => {
|
||||
|
||||
it("retries command pagination callbacks after a bubbled preflight failure", async () => {
|
||||
const listSkillCommandsMock = listSkillCommandsForAgents as unknown as ReturnType<typeof vi.fn>;
|
||||
listSkillCommandsMock.mockClear();
|
||||
|
||||
createTelegramBot({ token: "tok" });
|
||||
listSkillCommandsMock.mockClear();
|
||||
const callbackHandler = getOnHandler("callback_query");
|
||||
const middlewares = middlewareUseSpy.mock.calls
|
||||
.map((call) => call[0])
|
||||
|
||||
Reference in New Issue
Block a user