aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/vitest.config.ts
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-17 10:10:31 -0800
committerAdam Mathes <adam@trenchant.org>2026-02-17 10:11:03 -0800
commit6cf749948220f960d3fc0867f882588a3ca43019 (patch)
tree5bf2f1bf777dbfe86435b85bd74826fcc792c6bf /frontend-vanilla/vitest.config.ts
parentc7533329b64aaa664de1a2268e105a2ef5d43a9f (diff)
downloadneko-6cf749948220f960d3fc0867f882588a3ca43019.tar.gz
neko-6cf749948220f960d3fc0867f882588a3ca43019.tar.bz2
neko-6cf749948220f960d3fc0867f882588a3ca43019.zip
Configure vitest for low-resource VM environments
Diffstat (limited to 'frontend-vanilla/vitest.config.ts')
-rw-r--r--frontend-vanilla/vitest.config.ts3
1 files changed, 3 insertions, 0 deletions
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',
},
});