1 2
jest.spyOn(global.console, "log").mockImplementation(() => jest.fn()); jest.spyOn(global.console, "info").mockImplementation(() => jest.fn());