title: Cypress not matching routes
body: <p>I am trying to write a cypress test that emulates a slow API, so after reading some documentation I came up with this:</p>
  
  <pre><code>before(function() {
      cy.server({delay: 5000});
  });
  
  beforeEach(() =&gt; {
      cy.route({
          method: "GET",
          url: "**/api/**"
      });
      cy.visit("http://localhost:9000");
  });
  </code></pre>
  
  <p>That should add a 5 second delay to all requests to <code>API</code>, right?</p>
  
  <p>The issue I am seeing is that it is not matching to any requests even through there are plenty of calls to <code>*/api/*</code>.
  The cypress GUI does however see the route... it is just not matching.</p>
  
  <p>What could be the cause of this?</p>