Skip to content

Commit

Permalink
Testing: Add dummy testURL for Jest config
Browse files Browse the repository at this point in the history
Avoids issues with localStorage in JSDOM 11.12

Can be removed when running Jest 23.5.0 or newer

See: jestjs/jest#6766
See: jestjs/jest#6792
  • Loading branch information
aduth committed Sep 13, 2018
1 parent 92bc67d commit 02abe3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"setupFiles": [
"core-js/fn/symbol/async-iterator"
],
"testURL": "http://localhost",
"testPathIgnorePatterns": [
"/node_modules/",
"/test/e2e",
Expand Down

0 comments on commit 02abe3f

Please sign in to comment.