title: Cannot find module '../build/Release/magic' from 'index.js' during Jest tests
body: <p>I have the following error, while running jest tests:</p>
  
  <p>Cannot find module '../build/Release/magic' from 'index.js'</p>
  
  <pre><code>  at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:191:17)
    at Object.&lt;anonymous&gt; (node_modules/mmmagic/lib/index.js:3:13)
  </code></pre>
  
  <p>If I run an app as normal, it works without problems, but when trying to run Jest tests throws error above. Maybe someone has a similar issue. Thank you.</p>
  
  <p>NodeJS: <strong>8.11</strong>,</p>
  
  <p>default_configuration: <strong>'Release'</strong></p>