Skip to content

Commit

Permalink
Actualise vue3-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Jan 19, 2024
1 parent 9b38a00 commit e47cfba
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 122 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
],
transform: {
'^.+\\.js$': 'babel-jest',
'^.+\\.vue$': 'vue3-jest',
'^.+\\.vue$': '@vue/vue3-jest',
'\\.(mp3|mp4|png|jpg|jpeg|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|mp3|m4a|aac|oga)$': '<rootDir>/__mocks__/fileTransformer.js'
},
moduleNameMapper: {
Expand Down
184 changes: 65 additions & 119 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"@babel/preset-env": "^7.16.0",
"@vue/compiler-sfc": "^3.1.0",
"@vue/test-utils": "^2.0.2",
"@vue/vue3-jest": "^27.0.0",
"acorn": "^8.6.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.4.6",
"babel-loader": "^8.2.2",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
Expand Down Expand Up @@ -63,7 +63,6 @@
"sass-loader": "^12.x",
"style-loader": "^2.0",
"vue-loader": "^16.0.0",
"vue3-jest": "^27.0.0-alpha.1",
"webpack-dev-server": "^4.7",
"webpack-node-externals": "^2.5",
"workbox-webpack-plugin": "^6.4"
Expand Down

0 comments on commit e47cfba

Please sign in to comment.