test: dedupe channels status mock read · openclaw/openclaw@05ea605
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -243,7 +243,7 @@ describe("channelsStatusCommand SecretRef fallback flow", () => {
|
243 | 243 | |
244 | 244 | expect(errors.join("\n")).toContain("Gateway not reachable"); |
245 | 245 | expect(mocks.resolveCommandConfigWithSecrets).toHaveBeenCalledOnce(); |
246 | | -const configResolutionRequest = mocks.resolveCommandConfigWithSecrets.mock.calls.at(0)?.[0]; |
| 246 | +const configResolutionRequest = mocks.resolveCommandConfigWithSecrets.mock.calls[0]?.[0]; |
247 | 247 | expect(configResolutionRequest?.commandName).toBe("channels status"); |
248 | 248 | expect(configResolutionRequest?.mode).toBe("read_only_status"); |
249 | 249 | expect( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。