mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 13:32:28 -05:00
Add "testURL" config to fix test issues (#787)
* Add "testURL" config to fix "localStorage is not available for opaque origins" problem
This commit is contained in:
parent
f1efb97ace
commit
bce0cbbbb5
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@
|
|||
"raf/polyfill",
|
||||
"<rootDir>/test/helpers/enzyme-setup.js"
|
||||
],
|
||||
"testURL": "http://localhost",
|
||||
"moduleNameMapper": {
|
||||
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
|
||||
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js"
|
||||
|
|
Loading…
Reference in a new issue