// vitest.config.ts import { defineConfig } from 'vitest/config'; import path from 'path'; export default defineConfig({ test: { environment: 'node', coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], }, globals: true, include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], exclude: [ '**/node_modules/**', '**/dist/**', '**/.{idea,git,cache,output,temp}/**', '**/.next/**', '**/build/**', '**/repos/**', ], }, resolve: { alias: { '~': path.resolve(__dirname, './'), }, }, });