pnpm create vue@latest
All checks were successful
CI / cache-and-install (push) Successful in 50s

This commit is contained in:
严浩
2024-08-04 11:34:25 +08:00
parent ebb7c976ad
commit 90c970bd67
35 changed files with 4953 additions and 0 deletions

14
vitest.config.ts Normal file
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))
}
})
)