Clyde/frontend/vitest.config.js
Debucquoy Anthony a795108859
All checks were successful
deploy to production / deploy-frontend (push) Successful in 47s
frontend + ci
2024-02-17 20:58:42 +01:00

15 lines
378 B
JavaScript

import { fileURLToPath } from 'node:url'
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
import viteConfig from './vite.config'
export default mergeConfig(
viteConfig,
defineConfig({
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/*'],
root: fileURLToPath(new URL('./', import.meta.url))
}
})
)