Hello I was wondering is there a way to inject two mockContexts like in the solution here https://stackoverflow.com/a/55013256/8197395 but with two. Thanks I tried to add two with different names via useContext but unless it is called mockContext Jest doesn't recognise it.
Aucun commentaire:
Enregistrer un commentaire