test(doctor): bump timeouts for slow cases

This commit is contained in:
Peter Steinberger
2026-01-14 10:35:39 +00:00
parent 9930ba91c5
commit 95bdb28a05
2 changed files with 2 additions and 2 deletions

View File

@@ -404,7 +404,7 @@ describe("doctor command", () => {
([args]) => Array.isArray(args) && args[0] === "/usr/bin/defaults",
);
expect(defaultsCalls.length).toBe(runCommandWithTimeout.mock.calls.length);
});
}, 20_000);
it("runs legacy state migrations in non-interactive mode without prompting", async () => {
readConfigFileSnapshot.mockResolvedValue({

View File

@@ -380,7 +380,7 @@ describe("doctor command", () => {
expect(runLegacyStateMigrations).toHaveBeenCalledTimes(1);
expect(confirm).not.toHaveBeenCalled();
});
}, 20_000);
it("skips gateway restarts in non-interactive mode", async () => {
readConfigFileSnapshot.mockResolvedValue({