前端构建告警清理:happy-dom 替代 jsdom、批准 esbuild 安装脚本、CodeMirror 与重路由懒加载分包
This commit is contained in:
@@ -4,7 +4,7 @@ import react from '@vitejs/plugin-react'
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
environment: 'happy-dom',
|
||||
include: ['tests/**/*.test.?(c|m)[jt]s?(x)'],
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user