import { fileURLToPath } from 'node:url' import { defineConfig } from 'vitest/config' export default defineConfig({ resolve: { alias: { '@': fileURLToPath(new URL('.', import.meta.url)), }, }, test: { environment: 'jsdom', include: ['**/*.test.{ts,tsx}'], setupFiles: ['./vitest.setup.ts'], coverage: { provider: 'v8', include: ['lib/authRouting.ts', 'helpers/listResponse.ts', 'validation/auth.ts'], thresholds: { branches: 80, functions: 80, lines: 80, statements: 80, }, }, }, })