mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 13:09:19 +08:00
update: 升级vben5.5.9到5.7.0
This commit is contained in:
@@ -6,6 +6,23 @@ export default defineConfig({
|
||||
plugins: [Vue(), VueJsx()],
|
||||
test: {
|
||||
environment: 'happy-dom',
|
||||
exclude: [...configDefaults.exclude, '**/e2e/**'],
|
||||
environmentOptions: {
|
||||
happyDOM: {
|
||||
settings: {
|
||||
// happy-dom v20+ disables JS evaluation by default (security fix).
|
||||
// Treat disabled script loading as success to preserve test behavior.
|
||||
handleDisabledFileLoadingAsSuccess: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
exclude: [
|
||||
...configDefaults.exclude,
|
||||
'**/e2e/**',
|
||||
'**/dist/**',
|
||||
'**/.{idea,git,cache,output,temp}/**',
|
||||
'**/node_modules/**',
|
||||
'**/{stylelint,eslint}.config.*',
|
||||
'**/{oxfmt,oxlint}.config.*',
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user