import { defineConfig } from "vitest/config"; export default defineConfig({ test: { include: ["src/**/*.it.ts"], globalSetup: ["src/global-setup.ts"], // One shared containerized stack and one shared database: files run in // sequence. Concurrency is exercised INSIDE tests (Promise.all), which is // what the guards under test actually see in production. fileParallelism: false, testTimeout: 180_000, hookTimeout: 180_000, // Booking/scheduling steps are not idempotent — a retry would assert // against a half-advanced booking. retry: 0, reporters: ["verbose"], }, });