Skip to content

Commit 231a909

Browse files
committed
Testing: Add dummy testURL for Jest config
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
1 parent 52cff5f commit 231a909

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/unit/jest.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"setupFiles": [
2121
"core-js/fn/symbol/async-iterator"
2222
],
23+
"testURL": "http://localhost",
2324
"testPathIgnorePatterns": [
2425
"/node_modules/",
2526
"/test/e2e",

0 commit comments

Comments
 (0)