import { defineConfig } from 'vitest/config'; import path from 'path'; export default defineConfig({ test: { environment: 'node', globals: true, exclude: ['e2e/**', 'node_modules/**'], coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], exclude: [ 'node_modules/**', '.next/**', 'coverage/**', '**/*.test.ts', '**/*.test.tsx', '**/*.config.*', '**/e2e/**', ], thresholds: { global: { branches: 80, functions: 80, lines: 80, statements: 80, }, }, }, }, resolve: { alias: { '@': path.resolve(__dirname, './src'), }, }, });