Skip to content

Commit

Permalink
Fixes Jest localstorage bug (#7160)
Browse files Browse the repository at this point in the history
* Fixes: jestjs/jest#6766

* Add todo to remove this once it's fixed in Jest
  • Loading branch information
LekoArts authored and m-allanson committed Aug 10, 2018
1 parent 4e91970 commit 7bd43f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ module.exports = {
moduleNameMapper: {
"^highlight.js$": `<rootDir>/node_modules/highlight.js/lib/index.js`,
},
// TODO: Remove this once https://github.com/facebook/jest/pull/6792 is released.
// Probably in Jest 23.4.3
testURL: 'http://localhost',
}

0 comments on commit 7bd43f1

Please sign in to comment.