fix(KB-095): make vitest worker count configurable

This commit is contained in:
gsxdsm
2026-03-29 22:32:15 -07:00
parent bcbb22a6ca
commit 99fdc26760
5 changed files with 21 additions and 0 deletions

View File

@@ -1,8 +1,12 @@
import { defineConfig } from "vitest/config";
const maxWorkers = Number.parseInt(process.env.VITEST_MAX_WORKERS ?? "4", 10);
export default defineConfig({
test: {
include: ["src/**/*.test.ts"],
maxWorkers,
fileParallelism: false,
coverage: {
enabled: false,
reporter: ["text", "html", "json"],