title: Client.abort is not a function
body: <p>I am getting below error while run test cases by using jest with react testing library</p>
  
  <pre><code>import React from 'react';
  import { render} from '@testing-library/react';
  import Somecomponent from './Somecomponent';
  import { Provider } from 'react-redux';
  import store from './store';
  
  describe('&lt;Somecomponent /&gt; spec', () =&gt; {
    it('renders the component', () =&gt; {
      const container = render(
        &lt;Provider store={store}&gt;
          &lt;Somecomponent /&gt;
        &lt;/Provider&gt;
      );
      expect(container.firstChild).toMatchSnapshot();
    });
  }); 
  </code></pre>
  
  <p>Actual Result:</p>
  
  <p>Test suite failed to run</p>
  
  <pre><code>TypeError: client.abort is not a function
  
    at XMLHttpRequest.abort (node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js:379:16)
    at Object.abort (node_modules/jsdom/lib/jsdom/living/xhr-utils.js:425:13)
    at RequestManager.close (node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js:133:21)
    at Window.close (node_modules/jsdom/lib/jsdom/browser/Window.js:513:29)
  </code></pre>