Fix winston logger missing splat format (#5070)

This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2022-03-23 10:34:43 -04:00
1 parent 83d02294cf
commit c48527b44f
5 files changed
+11 -5

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ jest.mock("winston", () => ({
label: jest.fn(),
timestamp: jest.fn(),
printf: jest.fn(),
splat: jest.fn(),
},
createLogger: jest.fn().mockReturnValue(logger),
transports: {
@@ -15,6 +15,7 @@ jest.mock("winston", () => ({
printf: jest.fn(),
padLevels: jest.fn(),
ms: jest.fn(),
splat: jest.fn(),
},
createLogger: jest.fn().mockReturnValue({
silly: jest.fn(),
@@ -21,6 +21,7 @@ jest.mock("winston", () => ({
padLevels: jest.fn(),
ms: jest.fn(),
printf: jest.fn(),
splat: jest.fn(),
},
createLogger: jest.fn().mockReturnValue(logger),
transports: {