删除 Vitest 配置文件和相关依赖,更新 ESLint 配置以移除 Vitest 支持

This commit is contained in:
严浩
2024-10-12 10:12:00 +08:00
parent 8f27e6f133
commit 424c7f3c45
7 changed files with 1 additions and 301 deletions

View File

@@ -1,14 +0,0 @@
import { fileURLToPath } from 'node:url'
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
import viteConfig from './vite.config'
export default mergeConfig(
viteConfig({ command: 'build', mode: 'test' }),
defineConfig({
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('./', import.meta.url))
}
})
)