1export const time = jest.fn(); 2 3export const timeEnd = jest.fn(); 4 5export const error = jest.fn(); 6 7export const exception = jest.fn(); 8 9export const warn = jest.fn(); 10 11export const log = jest.fn(); 12 13export const debug = jest.fn(); 14 15export const clear = jest.fn(); 16 17export const exit = jest.fn(() => { 18 throw new Error('EXIT_CALLED'); 19}); 20 21export const Log = { 22 time, 23 timeEnd, 24 error, 25 exception, 26 warn, 27 log, 28 debug, 29 clear, 30 exit, 31}; 32