title: When testing a class via jest, does it handle imports?
body: <p><strong>Minimal, reproducible example</strong></p>
  <p>SomeClass.js</p>
  <pre><code>import Rx from &quot;rxjs/Rx.js&quot;;
  
  class SomeClass {
      constructor() {
          this.subject = new Rx.Subject();
      }
  }
  </code></pre>
  <p>SomeClass.test.js</p>
  <pre><code>import SomeClass from &quot;./SomeClass.js&quot;;
  
  let someClass = new SomeClass();
  </code></pre>
  <p>After running <code>npm test</code>, I get an error saying <code>TypeError: Cannot read property 'Subject' of undefined</code>. Rxjs has been installed in my project.</p>
  <p>Any ideas?</p>