title: React Redux - mock useDispatch in a specific jest test
body: <p>I am trying to mock <code>useDispatch</code> in just a specific test. I am trying to mock like this:</p>
  <p><code>import * as reactRedux from &quot;react-redux&quot;;</code></p>
  <p><code>const useDispatchMock = jest.spyOn(reactRedux, &quot;useDispatch&quot;);</code></p>
  <p>And still <code>useDispatch</code> is a normal function when running the test.</p>
  <p>Using Jest <code>26.6.3</code>
  React Redux <code>7.2.4</code></p>