Files
NextChair/legacy-nextjs/vitest.config.mts
T
Stefan Lazic 2ef3654841
CI / ci (push) Canceled after 0s
PHP Rebuild
Initial PHP rebuild of the app
2026-09-05 08:21:33 +01:00

15 lines
576 B
TypeScript

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.
// e2e/ is Playwright's own suite (`npm run test:e2e`), not Vitest's.
exclude: ["node_modules/**", ".next/**", "templates/**", "e2e/**", "**/*.integration.test.ts"],
},
});