fix: reset unsigned launchd overrides (#695) (thanks @jeffersonwarrior)

This commit is contained in:
Peter Steinberger
2026-01-11 03:19:24 +01:00
parent 325ed80252
commit 9b6bc0e66b
5 changed files with 85 additions and 3 deletions

View File

@@ -774,7 +774,10 @@ describe("doctor", () => {
const docker = sandbox.docker as Record<string, unknown>;
expect(docker.image).toBe("clawdis-sandbox-common:bookworm-slim");
expect(runCommandWithTimeout).not.toHaveBeenCalled();
const defaultsCalls = runCommandWithTimeout.mock.calls.filter(
([args]) => Array.isArray(args) && args[0] === "/usr/bin/defaults",
);
expect(defaultsCalls.length).toBe(runCommandWithTimeout.mock.calls.length);
});
it("runs legacy state migrations in non-interactive mode without prompting", async () => {