chore(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git] / ui / web / vitest.config.ts
CommitLineData
66a7748d 1import { fileURLToPath } from 'node:url'
66a7748d 2import { mergeConfig } from 'vite'
84ec8d34
JB
3import { configDefaults, defineConfig } from 'vitest/config'
4
66a7748d 5import viteConfig from './vite.config'
01ff4231
JB
6
7export default mergeConfig(
8 viteConfig,
9 defineConfig({
10 test: {
2de63014 11 coverage: {
60354605 12 provider: 'v8',
b015f776
JB
13 reporter: ['text', 'lcov'],
14 },
0749233f
JB
15 environment: 'jsdom',
16 exclude: [...configDefaults.exclude, 'e2e/*'],
17 root: fileURLToPath(new URL('./', import.meta.url)),
b015f776 18 },
66a7748d
JB
19 })
20)