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