How to unit test React Component shouldComponentUpdate method : <p>I have a React Component that implements the <a href="https://facebook.github.io/react/docs/react-component.html#shouldcomponentupdate" rel="noreferrer">shouldComponentUpdate</a> method and I'd like to unit test it. Ideally I could change some prop or state on the component in a unit test and verify it either re-rendered or not. I am using <a href="https://github.com/airbnb/enzyme" rel="noreferrer">enzyme</a> if that helps.</p>
