Skip to content

Commit

Permalink
feat: use jsdom v15 in jest presets instead of the default v11 (#4607)
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang authored Sep 24, 2019
1 parent ed50ceb commit 8705885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/@vue/cli-plugin-unit-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"deepmerge": "^4.0.0",
"jest": "^24.8.0",
"jest-environment-jsdom-fifteen": "^1.0.0",
"jest-serializer-vue": "^2.0.2",
"jest-transform-stub": "^2.0.0",
"jest-watch-typeahead": "^0.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
},
testEnvironment: 'jest-environment-jsdom-fifteen',
// serializer for snapshots
snapshotSerializers: [
'jest-serializer-vue'
Expand Down

0 comments on commit 8705885

Please sign in to comment.