mercredi 24 février 2021

test cafe : removeRequestHook

So I use t.addRequestHooks to add a few requestMock

I have the impression that after the end on my test, the hook are still working.

Is there a way to remove all the requestMock in one line? or should I specify all the t.removeRequestHooks one by one?

Aucun commentaire:

Enregistrer un commentaire