title: Using babel-plugin-module-resolver with jest
body: <p>I've got <code>babel-plugin-module-resolver</code> set up on my project and it works fine, until I run my tests. </p>
  
  <p>I've set up <code>~/</code> to point to <code>./src</code>. </p>
  
  <p>I've tried adding the following to <code>package.json</code> but it still does not work</p>
  
  <pre><code>"jest": {
    "preset": "react-native",
    "moduleNameMapper": {
      "~": "./src"
    }
  }
  </code></pre>