From d288d40841412b7039ebabcbb21bbef98b9b102a Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Wed, 28 May 2025 13:40:48 -0600 Subject: [PATCH] Update vitest.config.ts --- web/vitest.config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/vitest.config.ts b/web/vitest.config.ts index 67c5ec57d..a116850c8 100644 --- a/web/vitest.config.ts +++ b/web/vitest.config.ts @@ -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/**',