import { defineConfig } from 'vitest/config'; import { fileURLToPath } from 'node:url'; export default defineConfig({ test: { environment: 'node', globals: true, exclude: ['**/node_modules/**', '**/.next/**', '**/e2e/**'], }, resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)), }, }, });