import { bootstrapTestDatabase } from "./test-db"; /** * Vitest global setup: point the suite at the dedicated test database and * leave it in a known state (ensured, migrated, truncated, seeded, sequences * repaired) before any test file loads. Stage 2 rewires this entry point to * the template + per-fork clone lifecycle; until then it bootstraps the one * serial test database exactly as before. */ export default async function globalSetup(): Promise { await bootstrapTestDatabase(); }