Skip to content

Commit

Permalink
fixed coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Jun 1, 2023
1 parent 3790f3d commit 540cd40
Show file tree
Hide file tree
Showing 3 changed files with 610 additions and 480 deletions.
3 changes: 2 additions & 1 deletion webapp/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ module.exports = {
lines: 83,
},
},
coverageProvider: "v8",
setupFiles: ['<rootDir>/test/registerContext.js', '<rootDir>/test/testSetup.js'],
transform: {
'.*\\.(vue)$': 'vue-jest',
'.*\\.(vue)$': '@vue/vue2-jest',
'^.+\\.js$': 'babel-jest',
},
testMatch: ['**/?(*.)+(spec|test).js?(x)'],
Expand Down
10 changes: 5 additions & 5 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@babel/core": "~7.21.4",
"@babel/core": "~7.22.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-env": "^7.22.4",
"@faker-js/faker": "5.1.0",
"@nuxtjs/composition-api": "0.32.0",
"@storybook/addon-a11y": "^6.3.6",
Expand All @@ -79,11 +79,12 @@
"@vue/eslint-config-prettier": "~6.0.0",
"@vue/server-test-utils": "~1.0.0-beta.31",
"@vue/test-utils": "1.3.4",
"@vue/vue2-jest": "29",
"async-validator": "^3.2.4",
"babel-core": "~7.0.0-bridge.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "~10.1.0",
"babel-jest": "29.5",
"babel-loader": "~8.1.0",
"babel-loader": "~9.1.2",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-preset-vue": "~2.0.2",
"core-js": "~2.6.10",
Expand All @@ -110,7 +111,6 @@
"storybook-vue-router": "^1.0.7",
"style-loader": "~0.23.1",
"style-resources-loader": "~1.3.3",
"vue-jest": "~3.0.5",
"vue-svg-loader": "~0.16.0",
"vue-template-compiler": "^2.6.11"
},
Expand Down
Loading

0 comments on commit 540cd40

Please # to comment.