In jest & enzyme. How to find amount of all elements (children, children's children etc.) inside wrapper. wrapper.children().length outputs only direct children of wrapper
wrapper.children().length
Aucun commentaire:
Enregistrer un commentaire