test: stabilize telegram command pagination retry · openclaw/openclaw@606a7db
steipete
·
2026-04-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3369,9 +3369,9 @@ describe("createTelegramBot", () => {
|
3369 | 3369 | |
3370 | 3370 | it("retries command pagination callbacks after a bubbled preflight failure", async () => { |
3371 | 3371 | const listSkillCommandsMock = listSkillCommandsForAgents as unknown as ReturnType<typeof vi.fn>; |
3372 | | -listSkillCommandsMock.mockClear(); |
3373 | 3372 | |
3374 | 3373 | createTelegramBot({ token: "tok" }); |
| 3374 | +listSkillCommandsMock.mockClear(); |
3375 | 3375 | const callbackHandler = getOnHandler("callback_query"); |
3376 | 3376 | const middlewares = middlewareUseSpy.mock.calls |
3377 | 3377 | .map((call) => call[0]) |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。