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