Skip to content

Commit

Permalink
Jest config adjustmenet to address recent JSDom issue
Browse files Browse the repository at this point in the history
A recent Renovate merged Jest update caused all tests to start to
fail, due to JSDom security errors. This config adjustment was
recommended in the Jest repo to address this issue.

Relates to:
jestjs/jest#6766 (comment)
  • Loading branch information
hwillson committed Jul 27, 2018
1 parent f4f264f commit 8cb01d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
}
},
"testURL": "http://localhost"
},
"lint-staged": {
"*.ts*": [
Expand Down

0 comments on commit 8cb01d5

Please sign in to comment.