I have a variable which gets dynamically assigned a React component based on a condition is true or false. if(isValid) {icon = } else {icon =
how do i test for expected value of icon is one component or other?
Aucun commentaire:
Enregistrer un commentaire