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