title: Unit testing dynamic imports in node js using jest
body: <p>Does anybody know how to unit test the dynamic import in node js application. Iam unable to cover the function statement while unit testing using jest.</p>
  <p>And the dynamic import statement looks like this:<br></p>
  <p><code>fetch = (...args) =&gt; import('node-fetch').then(({ default: fetch }) =&gt; fetch(...args));</code></p>