title: Jest fails to load moment
body: <p>I have a very simple React component that utilizes the moment library: </p>
  
  <pre><code>import React from 'react';
  import moment from 'moment';
  
  let { Component } = React;
  
  export class SimpleApp extends Component {
      constructor (props) {
          super(props);
          var currentDate = this.props.data[this.props.current].date;
  
          this.state = {
              currentDate: currentDate,
              currentFromatted: moment(currentDate).format('dddd, MMMM Do YYYY')
          };
      }
  
      render() {
          return (
              &lt;div className="simple"&gt;{this.state.currentDate}&lt;/div&gt;
          );
      }
  } 
  
  module.exports = SimpleApp;
  </code></pre>
  
  <p>And I have this test to test this component:</p>
  
  <pre><code>import React from 'react/addons';
  import SimpleApp from '../js/components/pages/Simple.react';
  
  var TestUtils = React.addons.TestUtils;
  
  
  jest.dontMock('../js/components/pages/Simple.react');
  jest.dontMock('moment');
  
  describe('SimpleApp', () =&gt; {
      it('should not do anything', () =&gt; {
          var data = {
              "date": "2015-07-01",
              "total": 2,
              "results":[
                  {
                      "startTime": "2015-07-01T00:00:00.000",
                      "endTime": "2015-07-01T00:59:59.999",
                      "total": 2,
                      "results":[
                          {
                              "type":"motion",
                              "count":2
                          },
                          {
                              "type":"transaction",
                              "count":0
                          }
                      ]
                  }
              ]
          };
  
          var simple = TestUtils.renderIntoDocument(
              &lt;SimpleApp data={[data]} current="0" /&gt;
          );
  
          var div = TestUtils.findRenderedDOMComponentWithTag(simple, 'div');
          expect(div.getDOMNode().textContent).toEqual('2015-07-01');
      })
  })
  </code></pre>
  
  <p>when run <code>npm test</code> I get error says cannot call method 'format' of undefined:</p>
  
  <pre><code>● SimpleApp › it should not do anything
    - TypeError: Cannot call method 'format' of undefined
          at new SimpleApp (/Users/xiaofanyang/workspace/solink/histogram/flux2/js/components/pages/Simple.react.js:13:69)
  </code></pre>
  
  <p>it seems that the moment library was mocked, however, I did specify not to mock it... but obviously no help... </p>