mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 22:04:45 +00:00
test: dedupe node cli mock read
This commit is contained in:
@@ -38,6 +38,6 @@ describe("registerNodeCli", () => {
|
||||
|
||||
await program.parseAsync(["node", "start", "--json"], { from: "user" });
|
||||
|
||||
expect(daemonMocks.runNodeDaemonStart.mock.calls.at(0)?.[0]?.json).toBe(true);
|
||||
expect(daemonMocks.runNodeDaemonStart.mock.calls[0]?.[0]?.json).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user