mirror of https://github.com/buster-so/buster.git
Update vitest.config.ts
This commit is contained in:
parent
f4900d93b5
commit
d288d40841
|
@ -6,6 +6,13 @@ export default defineConfig({
|
||||||
globals: true,
|
globals: true,
|
||||||
environment: 'jsdom',
|
environment: 'jsdom',
|
||||||
setupFiles: ['./vitest.setup.ts'],
|
setupFiles: ['./vitest.setup.ts'],
|
||||||
|
pool: 'forks',
|
||||||
|
poolOptions: {
|
||||||
|
forks: {
|
||||||
|
maxForks: process.env.CI ? 1 : 8,
|
||||||
|
minForks: process.env.CI ? 1 : 8
|
||||||
|
}
|
||||||
|
},
|
||||||
include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
||||||
exclude: [
|
exclude: [
|
||||||
'**/node_modules/**',
|
'**/node_modules/**',
|
||||||
|
|
Loading…
Reference in New Issue