1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00

refactor: dont use actual logger in helper

This commit is contained in:
Joe Previte 2021-02-23 15:58:54 -07:00
parent 711abd8d84
commit 1470ff203a
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -33,3 +33,15 @@ export function createCookieIfDoesntExist(cookies: Array<Cookie>, cookieToStore:
}
return cookies
}
export const loggerModule = {
field: jest.fn(),
level: 2,
logger: {
debug: jest.fn(),
error: jest.fn(),
info: jest.fn(),
trace: jest.fn(),
warn: jest.fn(),
},
}