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, }, });