mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 20:24:46 +00:00
test: dedupe flows mock read
This commit is contained in:
@@ -88,7 +88,7 @@ describe("flows commands", () => {
|
||||
const runtime = createRuntime();
|
||||
await flowsListCommand({ json: true, status: "blocked" }, runtime);
|
||||
|
||||
const payload = JSON.parse(String(vi.mocked(runtime.log).mock.calls.at(0)?.[0]));
|
||||
const payload = JSON.parse(String(vi.mocked(runtime.log).mock.calls[0]?.[0]));
|
||||
|
||||
expect(payload).toStrictEqual({
|
||||
count: 1,
|
||||
|
||||
Reference in New Issue
Block a user