fix: test now passes
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Jixun 2022-12-05 19:59:38 +00:00
parent f61ea27b4e
commit 186f28e517
3 changed files with 2397 additions and 2574 deletions

View File

@ -4,4 +4,8 @@ module.exports = {
moduleNameMapper: { moduleNameMapper: {
'@/(.*)': '<rootDir>/src/$1', '@/(.*)': '<rootDir>/src/$1',
}, },
transform: {
'^.+\\.[jt]s$': 'babel-jest',
'^.+\\.vue$': '@vue/vue3-jest',
},
}; };

4959
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -43,15 +43,19 @@
"vue": "^3.2.45" "vue": "^3.2.45"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.20.5",
"@esbuild-plugins/node-globals-polyfill": "^0.1.1", "@esbuild-plugins/node-globals-polyfill": "^0.1.1",
"@esbuild-plugins/node-modules-polyfill": "^0.1.4", "@esbuild-plugins/node-modules-polyfill": "^0.1.4",
"@rollup/plugin-replace": "^5.0.1", "@rollup/plugin-replace": "^5.0.1",
"@types/crypto-js": "^4.0.2", "@types/crypto-js": "^4.0.2",
"@types/jest": "^27.0.3", "@types/jest": "^29.2.4",
"@vitejs/plugin-vue": "^3.2.0", "@vitejs/plugin-vue": "^3.2.0",
"@vue/babel-preset-app": "^5.0.8",
"@vue/vue3-jest": "^29.2.1",
"babel-jest": "^29.3.1",
"babel-plugin-component": "^1.1.1", "babel-plugin-component": "^1.1.1",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"jest": "^27.4.5", "jest": "^29.3.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"prettier": "^2.5.1", "prettier": "^2.5.1",
"rollup-plugin-node-polyfills": "^0.2.1", "rollup-plugin-node-polyfills": "^0.2.1",