We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 003eb2e commit f079973Copy full SHA for f079973
packages/vitest/vitest.config.ts
@@ -1,8 +1,11 @@
1
import { defineConfig } from 'vitest/config';
2
3
+const major = Number(process.versions.node.split('.')[0]);
4
+
5
export default defineConfig({
6
test: {
7
testTimeout: 60000, // 60s
8
include: ['**/test/*.{test,spec}.?(c|m)[jt]s?(x)'],
9
+ retry: major === 23 ? 5 : undefined,
10
},
11
});
0 commit comments