import { defineConfig } from 'vitest/config'; import path from 'path'; export default defineConfig({ test: { environment: 'node', globals: true, include: ['tests/**/*.test.ts'], exclude: ['node_modules', 'dist', 'coverage', 'tests/old-jest-tests/**'], testTimeout: 30000, coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], exclude: [ 'coverage/**', 'dist/**', 'tests/**', '**/*.d.ts', '**/*.test.ts', '**/node_modules/**', ], }, }, resolve: { alias: { '@': path.resolve(__dirname, './src'), }, }, esbuild: { target: 'node18', }, });