title: How to test React PropTypes through Jest?
body: <p>I'm writing Jest tests for my React code and hoping to make use of/test the PropType checks. I am quite new to the Javascript universe. I'm using npm to install <code>react-0.11.2</code> and have a simple:</p>
  
  <pre><code>var React = require('react/addons');
  </code></pre>
  
  <p>In my tests. My test looks quite similar to the jest/react tutorial example with code like:</p>
  
  <pre class="lang-js prettyprint-override"><code>var eventCell = TestUtils.renderIntoDocument(
    &lt;EventCell
      slot={slot}
      weekId={weekId}
      day={day}
      eventTypes={eventTypes}
      /&gt;
  );
  
  var time = TestUtils.findRenderedDOMComponentWithClass(eventCell, 'time');
  expect(time.getDOMNode().textContent).toEqual('19:00 ');
  </code></pre>
  
  <p>However it seems that the PropType checks in the <code>EventCell</code> component aren't being triggered. I understand that the checks are only run in Development mode but then I also thought that getting <code>react</code> through npm gave you the development version. The checks trigger in my browser when I build the component with watchify.</p>
  
  <p>What am I missing?</p>