mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
15 lines
378 B
TypeScript
15 lines
378 B
TypeScript
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))
|
|
}
|
|
})
|
|
)
|