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