Make React PropType warnings throw errors with enzyme.js + sinon.js + mocha.js A simple stateless functional component that we want to test that it renders without propType warnings. import React, { PropTypes } from 'react' let VersionListItem = function ({ active, version }) { return (