diff --git a/packages/devtools/vitest.config.ts b/packages/devtools/vitest.config.ts index 2a6cbe55..576b8a45 100644 --- a/packages/devtools/vitest.config.ts +++ b/packages/devtools/vitest.config.ts @@ -6,6 +6,10 @@ export default defineConfig({ // `--localstorage-file` and hides the jsdom one the tests rely on. execArgv: ['--no-experimental-webstorage'], setupFiles: ['src/__tests__/test-env.ts'], + // The Windows runner is several times slower at the tests that run a full + // devframe setup (the Analog source scan, the agent tools), and they hit the + // 5 s default there while taking under 100 ms on Linux. + testTimeout: process.platform === 'win32' ? 20_000 : 5_000, // Used only with `--coverage` (`pnpm test:coverage`): a report, with no threshold to meet. coverage: { provider: 'v8',