title: Trying to return the module import back to its original/default mock
body: <p>In my test file, I have a <strong>mocks</strong> folder that has a load of exported functions. Typically, I will just use the <strong>mocks</strong> folder to do all of the work, but there is one case where I need to change the return value to cater for another function, I don't know how to get it back to the original/default mock.</p>
  <p>Take the example below.</p>
  <pre class="lang-js prettyprint-override"><code>// __mocks__/user.ts
  export default someModuleFunction = () =&gt; {
    return 'default mock'
  }
  
  // user.test.ts
  import {someModuleFunction} from 'user';
  jest.mock('../users')
  
  describe(&quot;TestFile&quot;, () =&gt; {
  
   it(&quot;should mock the return value in here&quot;, () =&gt; {
    (someModuleFunction as jest.Mock) = jest.fn().mockReturnValue(null)
    expect(someModuleFunction).toEqual(null)
   })
   
   it(&quot;should fallback to the original default mock&quot;, async() =&gt; {
     expect(someModuleFunction).toEqual('default mock')
   })
  })
  </code></pre>