import { defineConfig } from "vitest/config"; export default defineConfig({ resolve: { tsconfigPaths: true }, test: { environment: "node", globals: false, // Unit tests (no DB) run by default via `npm test`. Integration tests // (real Postgres required) are named `*.integration.test.ts` and only // run via `npm run test:integration` — see docs/phase-3-summary.md. exclude: ["node_modules/**", ".next/**", "templates/**", "**/*.integration.test.ts"], }, });