import { defineConfig } from 'vitest/config'; import { fileURLToPath, URL } from 'node:url'; import vue from '@vitejs/plugin-vue'; export default defineConfig({ plugins: [vue()], resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) }, }, test: { environment: 'happy-dom', globals: false, include: [ 'tests/unit/**/*.test.ts', 'tests/integration/**/*.test.{ts,mjs}', 'tests/performance/**/*.test.ts', 'tests/security/**/*.test.ts', ], coverage: { include: ['src/**/*.{ts,vue}'] }, }, });