mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
wip test
This commit is contained in:
@@ -4,11 +4,11 @@ import {
|
|||||||
NotFound,
|
NotFound,
|
||||||
} from '../../../../website/server/libs/errors';
|
} from '../../../../website/server/libs/errors';
|
||||||
|
|
||||||
describe('logger', () => {
|
describe.only('logger', () => {
|
||||||
let logSpy;
|
let logSpy;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
logSpy = sandbox.stub(winston.Logger.prototype, 'log');
|
logSpy = sandbox.stub(Object.getPrototypeOf(winston.createLogger()), 'log');
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user