title: Getting connect ECONNREFUSED error when adding fireEvent.blur()
body: <p>I have a lot of jest tests in my application. When I add <code>fireEvent.blur(nameField)</code> I get the following error:</p>
  <pre><code>Error: connect ECONNREFUSED 127.0.0.1:80
            at Object.dispatchError (/Users/jessica/Desktop/MyApp/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
            at Request.&lt;anonymous&gt; (/Users/jessica/Desktop/MyApp/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
            at Request.emit (events.js:412:35)
            at ClientRequest.&lt;anonymous&gt; (/Users/jessica/Desktop/MyApp/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:121:14)
            at ClientRequest.emit (events.js:400:28)
            at Socket.socketErrorListener (_http_client.js:475:9)
            at Socket.emit (events.js:400:28)
            at emitErrorNT (internal/streams/destroy.js:106:8)
            at emitErrorCloseNT (internal/streams/destroy.js:74:3)
            at processTicksAndRejections (internal/process/task_queues.js:82:21) undefined
  
        at VirtualConsole.&lt;anonymous&gt; (node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)
        at Object.dispatchError (node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:66:53)
        at Request.&lt;anonymous&gt; (node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
        at ClientRequest.&lt;anonymous&gt; (node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:121:14)
  </code></pre>
  <p>Here's the test that's causing the issue. When I remove <code>fireEvent.blur(packagingDesc)</code> I don't get that <code>connect ECONNREFUSED</code> error.</p>
  <pre><code>it('name is required and shows empty error', async () =&gt; {
              userEvent.click(nameField);
  
              await act(async () =&gt; {
                  fireEvent.blur(nameField);
              });
  
              expect(screen.queryByText('Name is a required field')).toBeDefined();
          });
  </code></pre>
  <p>What am I doing wrong and how can I fix it?</p>