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