mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
16 lines
341 B
TypeScript
16 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);
|
||
|
});
|
||
|
});
|