Jest mock function from another module. mock are mocked only for the file that calls jest.