title: Jest: TypeError: Cannot read property of undefined
body: <p>Im trying to test my React class, that has <code>import dotnetify from &quot;dotnetify&quot;;</code> import. That works fine, but Jest says, that dotnetify is undefined. If i change to <code>const dotnetify = require(&quot;dotnetify&quot;);</code>, Jest passes test, but this is silly workaround. How to explain Jest, that dotnetify is not undefined?</p>
  <p>Than you in advance.</p>