Skip to content

Commit

Permalink
fix(jest): use jest-environment-jsdom-sixteen to avoid shared prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
tay1orjones committed May 6, 2020
1 parent 9e8acfe commit 0a484b6
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 11 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Expand Up @@ -89,6 +89,7 @@ module.exports = {
__DEV__: false,
},
setupFiles: ['<rootDir>/config/jest/setup.js'],
testEnvironment: 'jest-environment-jsdom-sixteen',
setupFilesAfterEnv: ['<rootDir>/config/jest/setupTest.js'],
testMatch: [
'<rootDir>/**/__tests__/**/*.js?(x)',
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -182,6 +182,7 @@
"file-loader": "^4.0.0",
"husky": "^1.3.1",
"jest": "^25.5.1",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-styled-components": "^6.3.1",
"lint-staged": "^8.1.0",
"moment-timezone": "^0.5.26",
Expand Down

0 comments on commit 0a484b6

Please sign in to comment.