import { defineConfig } from 'vitest/config'; import path from 'path'; /** * Standalone Vitest config: bypasses the heavy Vite plugin chain (unocss, * vue-devtools, etc.) used for the dev server. Tests are pure logic so we * don't need the SFC compiler or unocss transforms. */ export default defineConfig({ resolve: { alias: { '@': path.resolve(__dirname, './src') } }, test: { environment: 'node', include: ['src/**/*.test.ts'], globals: false } });