mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
3838d3d212
* chore: clean lint warnings * refactor: move core packages
21 lines
345 B
JavaScript
21 lines
345 B
JavaScript
const debug = require('debug')('verdaccio:test');
|
|
|
|
const setup = debug;
|
|
const logger = {
|
|
child: jest.fn(() => ({
|
|
debug,
|
|
trace: debug,
|
|
warn: debug,
|
|
info: debug,
|
|
error: debug,
|
|
fatal: debug,
|
|
})),
|
|
debug: debug,
|
|
trace: debug,
|
|
warn: debug,
|
|
info: debug,
|
|
error: debug,
|
|
fatal: debug,
|
|
};
|
|
|
|
export { setup, logger };
|