import { mergeConfig } from 'vitest/config'; import viteConfig from './vite.config'; export default mergeConfig(viteConfig, { test: { include: ['src/**/*.{test,spec}.{js,ts}'], globals: true, environment: 'jsdom', setupFiles: ['./src/test-data/setup.ts'], sequence: { hooks: 'list', }, }, });