mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
958a5d886f
* feat: migrate from buyan to pinojs * chore: fix lint * chore: release utils from import * chore: fix test * chore: add missing dep * chore: add dependency * chore: add prettifier module * chore: add pretty stamp option * chore: fix package name location * chore: crash on try use rotating file type * chore: remove arg
15 lines
341 B
TypeScript
15 lines
341 B
TypeScript
import { logger, setup } from "../src";
|
|
|
|
|
|
describe('logger', () => {
|
|
test('dsadasd', () => {
|
|
const spyOn = jest.spyOn( process.stdout, 'write');
|
|
setup([{
|
|
level: 'info'
|
|
}]);
|
|
|
|
logger.info({packageName: 'test'} , `publishing or updating a new version for @{packageName}`);
|
|
|
|
// expect(spyOn).toHaveBeenCalledTimes(2);
|
|
});
|
|
});
|