diff --git a/src/commands/doctor.falls-back-legacy-sandbox-image-missing.test.ts b/src/commands/doctor.falls-back-legacy-sandbox-image-missing.test.ts index 9d2d9b925..d936147cd 100644 --- a/src/commands/doctor.falls-back-legacy-sandbox-image-missing.test.ts +++ b/src/commands/doctor.falls-back-legacy-sandbox-image-missing.test.ts @@ -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({ diff --git a/src/commands/doctor.runs-legacy-state-migrations-yes-mode-without.test.ts b/src/commands/doctor.runs-legacy-state-migrations-yes-mode-without.test.ts index 7afff0bb4..ecde34870 100644 --- a/src/commands/doctor.runs-legacy-state-migrations-yes-mode-without.test.ts +++ b/src/commands/doctor.runs-legacy-state-migrations-yes-mode-without.test.ts @@ -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({