Skip to content

Commit

Permalink
Add global window to jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
daileytj committed Jul 2, 2021
1 parent 3092176 commit b8cc235
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
],
"resetMocks": true
"resetMocks": true,
"globals": {
"window": {}
}
},
"babel": {
"presets": [
Expand Down

0 comments on commit b8cc235

Please sign in to comment.