title: Importing Jest Mock Modules from another file
body: <p>Is there a way to import jest.mock modules from another file since it is used in many test files.</p>
  <p>For example:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>jestMock.tsx
     jest.mock('lib1',() =&gt; {});
     jest.mock('lib2',() =&gt; {});
     jest.mock('lib3',() =&gt; {});
     and so on
  
  Test1.spec.tsx
     import * from 'jestMock.tsx'
     //call jest mocks here
  
  Test2.spec.tsx
     import {jestMockLib1, jestMockLib2} from 'jestMock.tsx'
     // call jestMockLib1
     // call jestMockLib2</code></pre>
  </div>
  </div>
  </p>
  <p>Thanks.</p>