Skip to content

Commit

Permalink
test: add a "testURL" field to jest config (#2082)
Browse files Browse the repository at this point in the history
fixes the " SecurityError: localStorage is not available for opaque
origins"  error message that everyone seems to get on their PRs.

Using the solution provided here jestjs/jest#3630
  • Loading branch information
hissalht authored and dragosct committed Nov 14, 2019
1 parent ff6d041 commit f6f42ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@
"lcov",
"json",
"html"
]
],
"testURL": "http://localhost:8080"
},
"browserslist": [
"> 1%"
Expand Down

0 comments on commit f6f42ff

Please sign in to comment.