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
Juan Picado 15c694156a
fix eslint warnings (#2265)
* chore: reduce warnings

* chore: fix eslint warnings

* fix warning
2021-06-12 09:25:53 +02:00

16 lines
381 B
TypeScript

import { logger, setup } from '../src';
describe('logger', () => {
test('dsadasd', () => {
jest.spyOn(process.stdout, 'write');
setup([
{
level: 'info',
},
]);
logger.info({ packageName: 'test' }, `publishing or updating a new version for @{packageName}`);
// FIXME: check expect
// expect(spyOn).toHaveBeenCalledTimes(2);
});
});