react-shallow-testutils icon indicating copy to clipboard operation
react-shallow-testutils copied to clipboard

Added `findWithProp` and `findAllWithProp`

Open sheepsteak opened this issue 9 years ago • 0 comments

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 render function
  • [ ] Update README

@jadamgreen1010, what do you think?

sheepsteak avatar Jan 02 '16 19:01 sheepsteak