test: dedupe flows mock read · openclaw/openclaw@532fea8
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -88,7 +88,7 @@ describe("flows commands", () => {
|
88 | 88 | const runtime = createRuntime(); |
89 | 89 | await flowsListCommand({ json: true, status: "blocked" }, runtime); |
90 | 90 | |
91 | | -const payload = JSON.parse(String(vi.mocked(runtime.log).mock.calls.at(0)?.[0])); |
| 91 | +const payload = JSON.parse(String(vi.mocked(runtime.log).mock.calls[0]?.[0])); |
92 | 92 | |
93 | 93 | expect(payload).toStrictEqual({ |
94 | 94 | count: 1, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。