chore: Vitest + Vue Test Utils test runner exposed as task test:web

This commit was merged in pull request #1.
This commit is contained in:
fsylvain committed 2026-09-25 16:12:50 +02:00
1 parent 64f50074bd
commit 24f95a8fd7
6 files changed
+286 -5

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
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)),
},
}),
)