diff --git a/ui/vitest.config.ts b/ui/vitest.config.ts index 2d07d89..f1bd0a1 100644 --- a/ui/vitest.config.ts +++ b/ui/vitest.config.ts @@ -9,5 +9,10 @@ export default defineConfig({ environment: "jsdom", globals: true, setupFiles: ["./src/setupTests.ts"], + + // This avoids node's native fetch from causing vitest workers to hang + // and use 100% CPU. + // + pool: "forks", }, });