const path = require('path'); const { defineConfig } = require('vitest/config'); module.exports = defineConfig({ test: { environment: 'jsdom', globals: true, include: ['src/**/*.test.{ts,tsx}'], }, resolve: { alias: { '@': path.resolve(__dirname, 'src'), }, }, });