I have a test like so:
test("my test", () => { jest.mock(...) some_module.some_function = jest.fn(); ... });
My question is, when the test is finished will all of the mocks be "unset"? Or do I have to explicitly remove all mocks myself?
Aucun commentaire:
Enregistrer un commentaire