My select component is like below
class Select extends React.component(){
render(){
return(
<select>
some options return by ajax appended in here
</select>
)
}
}
How to check if select have some option in it after it has been updated by other ajax function
My test tools consist of mocha, enzyme, chai and sinon
Aucun commentaire:
Enregistrer un commentaire