How can I configure the jsdom instance used by jest?
<p>I've come up against this issue <a href="https://github.com/systemjs/systemjs/issues/840" rel="noreferrer">Invalid URL is thrown when requiring systemjs in jest test cases</a></p>

<p>One of the last comments suggests</p>

<p>"manipulate the jsdom instance to have a valid location / baseURI by setting the referrer config in jsdom."</p>

<p>I'm wondering is there way for me to do that? Can I access the <code>jsdom</code> instance somehow from the <code>jest</code> object?</p>