import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { globals: true, environment: 'node', exclude: [ '**/node_modules/**', '**/dist/**', '**/data/**', '**/.{idea,git,cache,output,temp}/**', ], coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], exclude: [ 'node_modules/', 'dist/', '**/*.test.ts', '**/__tests__/', 'vitest.config.ts', ], thresholds: { lines: 80, functions: 80, branches: 75, statements: 80, }, }, setupFiles: ['./src/__tests__/setup.ts'], }, });