mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-22 03:04:02 +00:00
test: count cli command calls
This commit is contained in:
@@ -304,7 +304,7 @@ describe("runDaemonRestart health checks", () => {
|
||||
await runDaemonRestart({ json: true, force: true });
|
||||
|
||||
expect(callGatewayCli).not.toHaveBeenCalled();
|
||||
expect(runServiceRestart).toHaveBeenCalled();
|
||||
expect(runServiceRestart).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
it("forwards --safe --skip-deferral as skipDeferral: true on the RPC", async () => {
|
||||
|
||||
Reference in New Issue
Block a user