lundi 25 novembre 2019

Jest test case for UseEffect hooks

I am trying to write the Jest-enzyme test case for useEffect react hooks, and I am really lost, I want to write test case for 2 react hooks, one making the async call and another sorting the data and setting the data using usestate hooks, my file is here.

Aucun commentaire:

Enregistrer un commentaire