I want to mock a dependency (one of the files) that is required from within a module in my node_modules folder using jest.
node_modules
jest
Is this possible? I can't find anything in the API that would let me do it without stubbing out the entire thing.
Aucun commentaire:
Enregistrer un commentaire