refactor: cleanup RFID authorization code
[e-mobility-charging-stations-simulator.git] / ui / web / vitest.config.ts
CommitLineData
01ff4231 1import { fileURLToPath } from 'node:url';
01ff4231 2import { configDefaults, defineConfig } from 'vitest/config';
cbac2373 3import { mergeConfig } from 'vite';
01ff4231
JB
4import viteConfig from './vite.config';
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
JB
13 coverage: {
14 provider: 'c8',
15 reporter: ['lcov'],
16 },
01ff4231 17 },
f3095697 18 }),
01ff4231 19);