title: Typescript paths from tsConfig.app.json not resolving when running JEST
body: <p>I have this settings for paths in my tsconfig.app.json:</p>
  <pre><code>&quot;paths&quot;: {
      &quot;@app/core&quot;: [&quot;./src/app/core&quot;]
  } 
  
  </code></pre>
  <p>Whenever I run a test that has import statements with relative path I get the following error:</p>
  <pre><code>Cannot find module '@app/core' or its corresponding type declarations
  
  import {NotificationService} from &quot;@app/core&quot;
  </code></pre>
  <p>How can i configure my jest.config.js file to resolve this issue?</p>
  <p>I have tried setting as</p>
  <pre><code>moduleNameMapper: { 
      &quot;@app/core&quot;: &quot;&lt;rootDir&gt;/src/app/core&quot; 
   }
  </code></pre>