vite/vitest.config.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
388 B
TypeScript
Raw Normal View History

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
exclude: [
'**/node_modules/**',
'**/dist/**',
2022-05-09 07:36:14 +00:00
'./playground/**/*.*',
'./playground-temp/**/*.*',
2022-05-09 18:49:38 +00:00
],
testTimeout: 20000,
// node14 segfaults often with threads
threads: !process.versions.node.startsWith('14'),
},
esbuild: {
target: 'node14',
},
})