cv_2026/vitest.config.ts
jl 331fd4a1c7
All checks were successful
CV build / buid (push) Successful in 2m33s
init vue and build
2026-04-16 22:09:36 +02:00

15 lines
382 B
TypeScript

import { fileURLToPath } from 'node:url'
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
import viteConfig from './vite.config'
export default mergeConfig(
viteConfig,
defineConfig({
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('./', import.meta.url)),
},
}),
)