mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
14 lines
312 B
TypeScript
14 lines
312 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { defaultExclude } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
exclude: [...defaultExclude, '**/fixtures'],
|
|
snapshotFormat: {
|
|
printBasicPrototype: true,
|
|
},
|
|
testTimeout: process.env.CI ? 60_000 : 5_000,
|
|
},
|
|
})
|