title: Not able to load AMD modules through Jest
body: <p>I'm trying to use Jest for unit testing my React code but I'm also using requirejs and so all my React code is in AMD modules. It obviously works well in browser but when I run Jest tests, it can't load my AMD modules.
  Initially it was giving me error for define saying <code>define is not defined</code>, so I used amdefine by Requirejs to fix it. Now it can understand <code>define</code> but still can't load my module.</p>