Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2025-10-21 15:15:48 +08:00
commit 37037acac9
42 changed files with 7312 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
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)),
},
}),
)