import { defineConfig } from 'vitest/config' import vue from '@vitejs/plugin-vue' import path from 'path' export default defineConfig({ plugins: [vue()], test: { environment: 'jsdom', coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], exclude: ['node_modules/', 'tests/'] }, include: ['tests/**/*.spec.ts'], globals: true }, resolve: { alias: { '@': path.resolve(__dirname, './src') } } })