Skip to content

The agent that grows with you

test(desktop): give the electron vitest project a 30s per-test timeout

Austin Pickett9aaef03b06fe
diff --git a/apps/desktop/vitest.config.ts b/apps/desktop/vitest.config.ts
index 5409f2e054a..0b95ebdb1ef 100644
--- a/apps/desktop/vitest.config.ts
+++ b/apps/desktop/vitest.config.ts
@@ -35,7 +35,11 @@ const electronNative: TestProjectConfiguration = {
// `e2e/**/*.unit.test.ts` is the e2e HELPERS, not the specs: plain node
// modules that should be provable without booting Electron. Playwright
// ignores the same pattern so they run in exactly one runner.
- include: ['electron/**/*.test.ts', 'scripts/**.test.{ts,mjs}', 'e2e/**/*.unit.test.ts']
+ include: ['electron/**/*.test.ts', 'scripts/**.test.{ts,mjs}', 'e2e/**/*.unit.test.ts'],
+ // Tests here shell out to real interpreters (python3, pwsh) over a 40+
+ // case corpus; pwsh alone takes several seconds to start on a loaded CI
+ // runner, so vitest's 5s default timed the Windows marker judge out.
+ testTimeout: 30_000
}
}