title: MochaJS sending HTTP Request in after hook
body: <p>I'm trying to send a http delete request to my web server in Mocha's after hook. Here's the relevant code:</p>
  
  <pre><code>after(function() {
      console.log('here at after');
      request.del('http://localhost:3000/api/deleteAllTasks', function(req, res) {
          console.log(req);
      });
  });
  </code></pre>
  
  <p>The problem is that the delete endpoint is never being hit. It console.logs "here at after" but never console.logs the request in the callback for request.del. I'm not sure what is causing this; I know the endpoint works as I've sent curl requests to it successfully. Anyone have any ideas? Ultimately, I want this endpoint to clear the DB after this particular test suite runs. </p>