title: How can I perform a dynamic lazy component test in React?
body: <p>I'm using jest to perform unit tests, and I do not know how to test the following code</p>
  
  <p><strong>javascript</strong></p>
  
  <pre><code>React.lazy(() =&gt; import(`path/to/dynamic/${icon}`));
  </code></pre>