vite/vitest.config.ts
renovate[bot] 123ef4c47c
fix(deps): update all non-major dependencies (#13059)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-06-08 11:56:21 +02:00

20 lines
435 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
include: ['**/__tests__/**/*.spec.[tj]s'],
exclude: [
'**/node_modules/**',
'**/dist/**',
'./playground/**/*.*',
'./playground-temp/**/*.*',
],
testTimeout: 20000,
// node14 segfaults often with threads
threads: !process.versions.node.startsWith('14'),
},
esbuild: {
target: 'node14',
},
})