import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { globals: true, environment: 'node', passWithNoTests: true, coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], exclude: [ 'node_modules/**', 'dist/**', 'coverage/**', '**/*.test.ts', '**/*.config.*', '**/index.ts', ], thresholds: { global: { branches: 80, functions: 80, lines: 80, statements: 80, }, }, }, }, });