mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
15c694156a
* chore: reduce warnings * chore: fix eslint warnings * fix warning
16 lines
381 B
TypeScript
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);
|
|
});
|
|
});
|