mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
e61bd6c78f
* chore: update prettier@2.x * chore: prettier auto fix * chore: fake circleci we don't need it but I want make dissapear the error
16 lines
369 B
TypeScript
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);
|
|
});
|
|
});
|