title: Jest is unable to find module from test file
body: <p>I have setup an app with create react app. When I run <code>yarn test</code> I get the following error: <code>Cannot find module 'react-google-button' from 'App.tsx'</code>. It seems to be caused by jest not finding <code>react-google-button</code>.</p>
  
  <p>When running the app by <code>yarn start</code> it works as expected.  Is the error caused by <code>react-google-button</code> library itself, or is it caused by wrong configuration? The error is thrown even when i try to mock the library.</p>
  
  <p>I have created a repo where anyone can replicate the error: <a href="https://github.com/kaladivo/jest-error" rel="nofollow noreferrer">https://github.com/kaladivo/jest-error</a>. (run <code>yarn test</code>).</p>
  
  <p>Can someone help me solve this issue? I have no idea how to fix. I know one possible sollution would be not to use <code>react-google-button</code> library, but that still won't solve it happening in the future with maybe some more crucial library...</p>