Skip to content

Commit 16928f2

Browse files
authored
Merge pull request #100 from oBusk/jest-opaque-origins
Fix "SecurityError: localStorage is not available for opaque origins" (jsdom/jsdom#2304)
2 parents bee7f0b + c8f1ae5 commit 16928f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function getSupportedTypescriptTarget() {
1818
}
1919

2020
module.exports = {
21+
testURL: 'http://localhost',
2122
preset: 'ts-jest',
2223
collectCoverageFrom: [
2324
'src/**/*.{t,j}s?(x)',

0 commit comments

Comments
 (0)