Update vitest.config.ts

This commit is contained in:
Nate Kelley 2025-05-28 13:40:48 -06:00
parent f4900d93b5
commit d288d40841
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,13 @@ export default defineConfig({
globals: true,
environment: 'jsdom',
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}'],
exclude: [
'**/node_modules/**',