import "dotenv/config"; import { defineConfig } from "vitest/config"; import tsconfigPaths from "vite-tsconfig-paths"; // Separate from vitest.config.ts on purpose: these tests hit a real Redis // (and, later, Postgres) instance rather than pure functions, so they're // kept out of the fast `npm test` unit loop and run explicitly via // `npm run test:integration` (locally: docker compose up -d; in CI: a // redis service — see .github/workflows/ci.yml). export default defineConfig({ plugins: [tsconfigPaths()], test: { environment: "node", include: ["tests/integration/**/*.test.ts"], }, });