evals/vitest.config.ts
Rama main · réplica de lectura del repositorio original.
import { fileURLToPath } from "node:url";
import { defineConfig } from "vitest/config";
// Root is pinned to the repo so server/testing/setup.ts and the include glob
// resolve exactly as the root suite does.
export default defineConfig({
root: fileURLToPath(new URL("..", import.meta.url)),
test: {
environment: "node",
include: ["evals/**/*.test.ts"],
setupFiles: ["server/testing/setup.ts"],
// the e2e scenarios boot verification servers and fake provider CLIs;
// parallel files introduce load-sensitive flakes for no win
fileParallelism: false,
testTimeout: 20_000,
hookTimeout: 30_000,
},
});