title: Jest SecurityError: localStorage is not available for opaque origins
body: <p>When I want to run my project with the command <code>npm run test</code>, I get the error below. What is causing this?</p>
  
  <pre><code>FAIL
  ● Test suite failed to run
  
  SecurityError: localStorage is not available for opaque origins at Window.get localStorage [as localStorage] (node_modules/jsdom/lib/jsdom/browser/Window.js:257:15)
        at Array.forEach (&lt;anonymous&gt;)
  </code></pre>