stack/vitest.shared.ts
Konstantin Wohlwend faf79e5a9e Speed up Vitest
2025-09-03 10:44:52 -07:00

13 lines
310 B
TypeScript

import tsconfigPaths from "vite-tsconfig-paths";
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}'],
},
})