diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-17 10:10:31 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@trenchant.org> | 2026-02-17 10:11:03 -0800 |
| commit | 6cf749948220f960d3fc0867f882588a3ca43019 (patch) | |
| tree | 5bf2f1bf777dbfe86435b85bd74826fcc792c6bf | |
| parent | c7533329b64aaa664de1a2268e105a2ef5d43a9f (diff) | |
| download | neko-6cf749948220f960d3fc0867f882588a3ca43019.tar.gz neko-6cf749948220f960d3fc0867f882588a3ca43019.tar.bz2 neko-6cf749948220f960d3fc0867f882588a3ca43019.zip | |
Configure vitest for low-resource VM environments
| -rw-r--r-- | frontend-vanilla/vitest.config.ts | 3 |
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', }, }); |
