mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01: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
17 lines
369 B
TypeScript
17 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);
|
|
});
|
|
});
|