This commit is contained in:
Matteo Pagliazzi
2020-02-27 12:16:53 +01:00
parent a046930097
commit 6543a43854

View File

@@ -4,11 +4,11 @@ import {
NotFound,
} from '../../../../website/server/libs/errors';
describe('logger', () => {
describe.only('logger', () => {
let logSpy;
beforeEach(() => {
logSpy = sandbox.stub(winston.Logger.prototype, 'log');
logSpy = sandbox.stub(Object.getPrototypeOf(winston.createLogger()), 'log');
});
afterEach(() => {