0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/packages/logger/test/logger.spec.ts
Juan Picado e61bd6c78f chore: lint prettier update (#1904)
* chore: update prettier@2.x

* chore: prettier auto fix

* chore: fake circleci

we don't need it but I want make dissapear the error
2021-04-09 17:54:12 +02:00

16 lines
369 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);
});
});