diff --git a/test/helpers.ts b/test/helpers.ts index 193fd0cad..2aeb82df6 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -33,3 +33,15 @@ export function createCookieIfDoesntExist(cookies: Array, 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(), + }, +}