feat(cli): bump jest v29 (#11117)

This commit is contained in:
neverland
2022-10-06 17:01:29 +08:00
committed by GitHub
parent f94897cb24
commit 711652ad90
6 changed files with 603 additions and 546 deletions
+4
View File
@@ -29,6 +29,10 @@ const DEFAULT_CONFIG = {
],
coverageReporters: ['html', 'lcov', 'text-summary'],
coverageDirectory: './test/coverage',
testEnvironmentOptions: {
// https://stackoverflow.com/questions/72428323/jest-referenceerror-vue-is-not-defined
customExportConditions: ['node', 'node-addons'],
},
};
function readRootConfig() {