Speed up Vitest

This commit is contained in:
Konstantin Wohlwend 2025-09-03 10:44:52 -07:00
parent 0482a07880
commit faf79e5a9e

View File

@ -4,6 +4,8 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [tsconfigPaths() as any],
test: {
pool: 'threads',
maxWorkers: 8,
include: ['**/*.test.{js,ts,jsx,tsx}'],
includeSource: ['**/*.{js,ts,jsx,tsx}'],
},