mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
19 lines
626 B
TypeScript
19 lines
626 B
TypeScript
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"],
|
|
},
|
|
});
|