diff --git a/src/cli/daemon-cli.coverage.test.ts b/src/cli/daemon-cli.coverage.test.ts index a3062a99b..6f320e4d0 100644 --- a/src/cli/daemon-cli.coverage.test.ts +++ b/src/cli/daemon-cli.coverage.test.ts @@ -181,7 +181,15 @@ describe("daemon-cli coverage", () => { serviceIsLoaded.mockResolvedValueOnce(false); serviceInstall.mockClear(); - await runDaemonCommand(["daemon", "install", "--port", "18789", "--json"]); + await runDaemonCommand([ + "daemon", + "install", + "--port", + "18789", + "--token", + "test-token", + "--json", + ]); expect(serviceInstall).toHaveBeenCalledTimes(1); const parsed = parseFirstJsonRuntimeLine<{