import { defineConfig } from 'vitest/config'; import path from 'node:path'; export default defineConfig({ resolve: { alias: { '@': path.resolve(__dirname, 'src'), }, }, test: { exclude: ['e2e/**', 'node_modules/**', 'gui/**'], coverage: { provider: 'v8', reporter: ['text', 'lcov', 'cobertura'], include: ['src/**/*.{ts,tsx}'], exclude: ['src/main.tsx', 'src/vite-env.d.ts', '**/*.test.{ts,tsx}', '**/*.spec.{ts,tsx}'], thresholds: { branches: 60, functions: 60, lines: 70, statements: 70, }, }, }, });