14 lines
420 B
TypeScript
14 lines
420 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
cacheDir: 'node_modules/.vite-tests',
|
|
test: {
|
|
environment: 'node',
|
|
include: ['tests/**/*.test.ts', 'tests/**/*.test.tsx'],
|
|
// The project can live on a synchronized Windows drive. Keep useful file
|
|
// parallelism while capping the fork pool below the unstable CPU-based default.
|
|
maxWorkers: 4,
|
|
minWorkers: 1
|
|
}
|
|
});
|