You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2021. It is now read-only.
Thanks for making these tools - we've been finding them particularly useful on our project.
Have you considered the idea of flipping and currying the arguments to encourage more reusable and composable functions? If the interface was something like this:
ShallowTestUtils.findWithType(type, component);
This would be more in the pattern of functional libraries like Ramda (http://ramdajs.com/0.17/index.html). It would also allow more fine-grained functions if they were curried: