We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696d2a3 commit 56f8137Copy full SHA for 56f8137
vitest.config.ts
@@ -3,8 +3,11 @@ import { defineConfig } from 'vitest/config';
3
const ONE_SECOND = 1_000;
4
5
export default defineConfig({
6
+ /**
7
+ * add a 3x factor for windows tests... because windows 😭
8
+ */
9
test: {
- testTimeout: 240 * ONE_SECOND,
- hookTimeout: 240 * ONE_SECOND,
10
+ testTimeout: 240 * ONE_SECOND * (process.platform === 'win32' ? 3 : 1),
11
+ hookTimeout: 240 * ONE_SECOND * (process.platform === 'win32' ? 3 : 1),
12
},
13
});
0 commit comments