test: count cli command calls

This commit is contained in:
Shakker
2026-05-12 05:13:25 +01:00
parent 78fd1f18c5
commit e35bc01ade
4 changed files with 4 additions and 4 deletions

View File

@@ -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 () => {