mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
30 lines
607 B
TypeScript
30 lines
607 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
// Note: One test expects coverage.thresholds not to be defined in here
|
|
test: {
|
|
include: ['test/**.test.ts'],
|
|
reporters: ['verbose'],
|
|
testTimeout: 60_000,
|
|
pool: 'forks',
|
|
poolOptions: {
|
|
forks: {
|
|
singleFork: true,
|
|
},
|
|
threads: {
|
|
singleThread: true,
|
|
},
|
|
},
|
|
chaiConfig: {
|
|
truncateThreshold: 999,
|
|
},
|
|
coverage: {
|
|
// test that empty reporter does not throw
|
|
reporter: [],
|
|
},
|
|
typecheck: {
|
|
ignoreSourceErrors: true,
|
|
},
|
|
},
|
|
})
|