mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-20 23:54:47 +00:00
test: tighten cli smoke assertions
This commit is contained in:
@@ -38,8 +38,6 @@ describe("registerNodeCli", () => {
|
||||
|
||||
await program.parseAsync(["node", "start", "--json"], { from: "user" });
|
||||
|
||||
expect(daemonMocks.runNodeDaemonStart).toHaveBeenCalledWith(
|
||||
expect.objectContaining({ json: true }),
|
||||
);
|
||||
expect(daemonMocks.runNodeDaemonStart.mock.calls[0]?.[0]?.json).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user