title: How to test Router.push with Jest/React
body: <p>Im still new to unit tests and im struggling to understand how i could test/mock a push from a router,</p>
  
  <pre><code>&lt;Tab label="Members" alt="Members" onClick={() =&gt; Router.push('/members')}/&gt;
  </code></pre>
  
  <p>the above line is what i need to test but how could i? would i create a fake end point and then test the onClick?</p>