mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
28 lines
502 B
TypeScript
28 lines
502 B
TypeScript
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ['test/**.test.ts'],
|
|
includeTaskLocation: true,
|
|
reporters: ['verbose'],
|
|
testTimeout: 60_000,
|
|
globals: true,
|
|
poolOptions: {
|
|
forks: {
|
|
singleFork: true,
|
|
},
|
|
},
|
|
chaiConfig: {
|
|
truncateThreshold: 999,
|
|
},
|
|
},
|
|
server: {
|
|
watch: {
|
|
ignored: [
|
|
'**/fixtures/browser-multiple/**/*',
|
|
'**/fixtures/browser-init/**/*',
|
|
],
|
|
},
|
|
},
|
|
})
|