vendredi 9 février 2018

Prevent use of mock from __mocks__ folder

I have a __mock__ folder with a single mock in it, and when I run my test it is using this mock without any explicit invocation. How can I shut it off? I've tried jest.disableAutomock() and some other things from the docs.

Aucun commentaire:

Enregistrer un commentaire