mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
15 lines
387 B
TypeScript
15 lines
387 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
|
|
import viteConfig from './vite.config'
|
|
|
|
export default mergeConfig(
|
|
viteConfig as never,
|
|
defineConfig({
|
|
test: {
|
|
environment: 'jsdom',
|
|
exclude: [...configDefaults.exclude, 'e2e/*'],
|
|
root: fileURLToPath(new URL('./', import.meta.url))
|
|
}
|
|
})
|
|
)
|