enzyme-matchers
enzyme-matchers copied to clipboard
Add assertion to simulate shouldComponentUpdate
Something like expect(a).toUpdateOnProp('data')
(prop or state) would really help
Whoa! I really like this idea. I wonder if we could work for state changes too? So maybe something a bit more abstract?