jeudi 2 mars 2017

Testing if something is on screen with react

I have an input field with a submit button and when someone enters something that text appears on the screen. how can I test that in react?

I know how to simulate the button click but what would the expectation be? or how would I actually be able to tell if the text is there?

Aucun commentaire:

Enregistrer un commentaire