Files
NextChair/vitest.integration.config.mts
T
Stefan Lazic a0d39026c0
CI / ci (push) Canceled after 0s
Management UI
Attempt 2 of a management ui.
2026-09-05 13:39:55 +01:00

20 lines
721 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
resolve: { tsconfigPaths: true },
test: {
environment: "node",
globals: false,
include: ["**/*.integration.test.ts"],
// "**/node_modules/**" (not "node_modules/**") — see vitest.config.mts's
// own comment for why this matters once a nested node_modules
// (manager/node_modules) exists in the repo.
exclude: ["**/node_modules/**", ".next/**", "templates/**", "manager/**"],
// 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,
},
});