0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/logger/test/logger.spec.ts

17 lines
369 B
TypeScript
Raw Normal View History

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);
});
});