title: Error when run the test "Cannot find module "
body: <p>I am new to writing Unit tests and i am trying to write unit tests to my react application using <code>testing-library/react</code> and <code>jest</code></p>
  
  <p>Here is the test code "Home.test.js"</p>
  
  <pre><code>import React from 'react';
  import {render, cleanup} from '@testing-library/react';
  import '@testing-library/jest-dom/extend-expect';
  import Home from "../src/Home";    
  
  afterEach(cleanup);
  
  describe("Tests for HomePage", function() {
      it("should render without throwing an error", function() {
          const { homePage } = render(&lt;Home /&gt;);
          //check something here
      });
  });
  </code></pre>
  
  <p>Here is my code in component "Home.js"</p>
  
  <pre><code>import * as React from "react";
  
  import { Panel, Shell, Button } from "@myorg/core";
  import { home_icon, new_icon } from "@myorg/icons";
  
  function Home(props) {
      const openDialog = React.useCallback(() =&gt; {
          //do something
      });
  
      return (
          &lt;Shell.Page breadcrumbs={[t("demo:Home")]}&gt;
              &lt;Panel style={{ height: "100%" }}&gt;
                  &lt;h2&gt;App Header&lt;/h2&gt;
                  &lt;Button onClick={openDialog} variant="primary"&gt;
                      &lt;img src={new_icon} width="20" /&gt;
                      {t("demo:New Asset")}
                  &lt;/Button&gt;
              &lt;/Panel&gt;
          &lt;/Shell.Page&gt;
      );
  }
  </code></pre>
  
  <p>error I get when I run "npm run test"</p>
  
  <pre><code>Cannot find module '@myorg/icons' from 'Home.js'
  </code></pre>