test: cover channels status timeout request · openclaw/openclaw@cbc620b
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -220,12 +220,11 @@ describe("channelsStatusCommand SecretRef fallback flow", () => {
|
220 | 220 | |
221 | 221 | await channelsStatusCommand({ channel: "imsg", json: true, probe: true }, runtime as never); |
222 | 222 | |
223 | | -expect(mocks.callGateway).toHaveBeenCalledWith( |
224 | | -expect.objectContaining({ |
225 | | -method: "channels.status", |
226 | | -params: { channel: "imsg", probe: true, timeoutMs: 30000 }, |
227 | | -}), |
228 | | -); |
| 223 | +expect(mocks.callGateway).toHaveBeenCalledWith({ |
| 224 | +method: "channels.status", |
| 225 | +params: { channel: "imsg", probe: true, timeoutMs: 30000 }, |
| 226 | +timeoutMs: 30000, |
| 227 | +}); |
229 | 228 | }); |
230 | 229 | |
231 | 230 | it("keeps read-only fallback output when SecretRefs are unresolved", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。