Files
NextChair/vitest.integration.config.mts
T
2026-09-05 09:32:05 +01:00

17 lines
507 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
resolve: { tsconfigPaths: true },
test: {
environment: "node",
globals: false,
include: ["**/*.integration.test.ts"],
exclude: ["node_modules/**", ".next/**", "templates/**"],
// Concurrency tests (double-booking prevention) need real, unshared
// DB connections and predictable ordering — run integration test
// files one at a time.
fileParallelism: false,
testTimeout: 20000,
},
});