Parallel test files each cold-load their own LLM model, competing for CPU and causing timeouts even at 120s. Sequential execution eliminates contention — tests that timed out at 30s now complete in 1-15s. Made-with: Cursor
10 lines
184 B
TypeScript
10 lines
184 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
testTimeout: 30000,
|
|
fileParallelism: false,
|
|
include: ["test/**/*.test.ts"],
|
|
},
|
|
});
|