react-shallow-testutils
react-shallow-testutils copied to clipboard
Added `findWithProp` and `findAllWithProp`
Had a go at #5 as requested a few months ago. This is on top of #15 too, which I'll merge in soon.
- [x] Use lodash.get to allow deeply nested values to be found in a component's props and then compare with lodash.isEqual
- [x] Update some documentation and convert some components in tests to stateless components as they only have a
renderfunction - [ ] Update README
@jadamgreen1010, what do you think?