unclecheese / react-selectable

A component for react that allows mouse selection of child items
MIT License
142 stars 72 forks source link

A way to select selectable Items with enzyme #36

Open sallyhill opened 7 years ago

sallyhill commented 7 years ago

Having difficulty selecting my selectable elements for testing using enzyme. If I use .find(createComponent(componentToTest)), I am told this element doesn't exist. I can only manually find selectable components using props().children on the SelectableGroup component