1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/packages/api/__mocks__/@verdaccio/logger/index.js

20 lines
353 B
JavaScript
Raw Normal View History

const setup = jest.fn();
2020-08-13 23:36:23 +02:00
const logger = {
child: jest.fn(() => ({
debug: jest.fn(),
2020-08-13 23:36:23 +02:00
trace: jest.fn(),
warn: jest.fn(),
info: jest.fn(),
error: jest.fn(),
fatal: jest.fn(),
})),
debug: jest.fn(),
2020-08-13 23:36:23 +02:00
trace: jest.fn(),
warn: jest.fn(),
info: jest.fn(),
error: jest.fn(),
fatal: jest.fn(),
};
2020-08-13 23:36:23 +02:00
export { setup, logger };