import { defineConfig } from 'vitest/config'; import { fileURLToPath } from 'node:url'; export default defineConfig({ resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)), }, }, test: { environment: 'jsdom', globals: false, include: ['tests/**/*.test.{js,mjs}'], exclude: ['tests/*Contract.test.mjs', 'node_modules/**'], passWithNoTests: true, coverage: { provider: 'v8', reporter: ['text', 'html'], include: ['src/utils/**', 'src/store/**'], }, }, });