From faf79e5a9e5fa8ad608e7d5634339743a55d06f0 Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Wed, 3 Sep 2025 10:44:52 -0700 Subject: [PATCH] Speed up Vitest --- vitest.shared.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vitest.shared.ts b/vitest.shared.ts index aa89c7ba6..866efcaa6 100644 --- a/vitest.shared.ts +++ b/vitest.shared.ts @@ -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}'], },