FitTrackee/fittrackee_client/vitest.config.ts

17 lines
382 B
TypeScript
Raw Normal View History

2023-11-11 17:12:20 +01:00
import { fileURLToPath } from 'node:url'
2023-11-11 18:44:07 +01:00
2023-11-11 17:12:20 +01:00
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
2023-11-11 18:44:07 +01:00
2023-11-11 17:12:20 +01:00
import viteConfig from './vite.config'
export default mergeConfig(
viteConfig,
defineConfig({
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/*'],
root: fileURLToPath(new URL('./', import.meta.url)),
},
})
)