From 6cf749948220f960d3fc0867f882588a3ca43019 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Tue, 17 Feb 2026 10:10:31 -0800 Subject: Configure vitest for low-resource VM environments --- frontend-vanilla/vitest.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend-vanilla/vitest.config.ts b/frontend-vanilla/vitest.config.ts index 9695d57..160cf01 100644 --- a/frontend-vanilla/vitest.config.ts +++ b/frontend-vanilla/vitest.config.ts @@ -6,5 +6,8 @@ export default defineConfig({ environment: 'jsdom', globals: true, setupFiles: ['./src/setupTests.ts'], + // Limit concurrency to avoid resource exhaustion on the VM + fileParallelism: false, + pool: 'threads', }, }); -- cgit v1.2.3