title: How can I use Cypress.io to assert that a file download has been initiated without actually downloading?
body: <p>The download is initiated by setting</p>
  
  <pre><code>location.href = [some url to an image]
  </code></pre>
  
  <p>I want assert, as close as possible, that the download will succeed but without actually performing the download. That the URL is correct can be assumed.</p>