import { defineConfig } from 'vitest/config' export default defineConfig({ test: { include: ['test/**/*.test.ts'], environment: 'node', coverage: { provider: 'v8', // Tested surface = business logic + in-memory adapters. The pg/ioredis/fastify // production wiring (db/pool.ts, store/pg.ts, api/main.ts) is an integration seam // exercised by Testcontainers in CI (docs/PLAN_RELAY_CONTROLPLANE.md ยง10), not unit tests. include: ['src/**/*.ts'], exclude: ['**/*.d.ts', 'src/main.ts'], }, }, })