enzymejs / enzyme-matchers

Jasmine/Jest assertions for enzyme
MIT License
892 stars 116 forks source link

Allowing some assertions to be called on lists of nodes #305

Closed GreenGremlin closed 5 years ago

GreenGremlin commented 5 years ago

When I added the toContainMatchingElement(s) assertions I copy / pasted code from another assertion that included the single assertion. Looking closer, it isn't necessary here since enzyme allows calling .find on element lists, so this change removes it.