verekia / js-stack-from-scratch

🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.
MIT License
20.05k stars 1.99k forks source link

jest : SecurityError: localStorage is not available for opaque origins #258

Open otech-nl opened 6 years ago

otech-nl commented 6 years ago

Got this error: https://github.com/jsdom/jsdom/issues/2304

The suggested fix is just a band aid, but worked for me.

verekia commented 6 years ago

Thanks for the heads up :) It's affecting a lot of users of Jest, that should be fixed pretty quickly.