title: Jest - TypeError: Network request failed for fetch
body: <p>Im using Jest to test a REST API and I'm receiving TypeError: Network request failed responses whenever I issue a fetch request. All of the calls to the REST API work on the application and fail exclusively on my Jest tests.</p>
  
  <p>Are there any known incompatibilities between fetch and Jest? For example this simple test ends up executing the catch statement:</p>
  
  <pre><code>it('should find a result via fetch', () =&gt; {
      fetch('http://www.google.com').then(() =&gt; console.log('Success')).catch((err) =&gt; console.log('Error!!!!' + err));
  });
  </code></pre>
  
  <p>The result received is:     Error!!!!TypeError: Network request failed</p>