import { defineConfig } from 'vitest/config'; import path from 'path'; export default defineConfig({ test: { globals: true, environment: 'node', coverage: { provider: 'v8', reporter: ['text', 'json', 'html', 'lcov'], include: [ 'src/cli-tools/**/*.ts', 'src/cli/**/*.ts', 'src/browser-extension/**/*.ts', 'src/mcp-tools/**/*.ts' ], exclude: [ '**/*.test.ts', '**/*.spec.ts', '**/test/**', '**/node_modules/**', '**/dist/**', '**/out/**' ], thresholds: { lines: 95, functions: 95, branches: 95, statements: 95 } } }, resolve: { alias: { '@': path.resolve(__dirname, './src') } } });