title: Is it possible to use Jest with multiple presets at the same time?
body: <p>Is it possible to use Jest with multiple presets, say jsdom and react-native?</p>
  
  <p>I'd like to test a React component that can work both on Web and in a React Native environment. The problem is that the component may use either React Native libraries or some document's methods.</p>
  
  <p>When I run some tests, jest replies:</p>
  
  <blockquote>
    <p>Cannot find module 'NetInfo' from 'react-native-implementation.js'</p>
  </blockquote>
  
  <p>When I try to add</p>
  
  <pre><code>"jest": {
    "preset": "react-native"
  }
  </code></pre>
  
  <p>to package.json, I get:</p>
  
  <blockquote>
    <p>ReferenceError: window is not defined</p>
  </blockquote>