Skip to content

Commit 1470ff2

Browse files
committed
refactor: dont use actual logger in helper
1 parent 711abd8 commit 1470ff2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/helpers.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,15 @@ export function createCookieIfDoesntExist(cookies: Array<Cookie>, cookieToStore:
3333
}
3434
return cookies
3535
}
36+
37+
export const loggerModule = {
38+
field: jest.fn(),
39+
level: 2,
40+
logger: {
41+
debug: jest.fn(),
42+
error: jest.fn(),
43+
info: jest.fn(),
44+
trace: jest.fn(),
45+
warn: jest.fn(),
46+
},
47+
}

0 commit comments

Comments
 (0)