How to call async function in setupTest for create-react-app
I've got my setupTests for create-react-app, however everything there seems to be synchronous. Is it possible to call an asynchronous function from there and wait for it to be executed before running tests?
Aucun commentaire:
Enregistrer un commentaire