1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2022-03-23 07:28:14 +02:00
parent 6702ec10ad
commit c9a0f62781
3 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ jest.mock("winston", () => ({
label: jest.fn(), label: jest.fn(),
timestamp: jest.fn(), timestamp: jest.fn(),
printf: jest.fn(), printf: jest.fn(),
splat: jest.fn(),
}, },
createLogger: jest.fn().mockReturnValue(logger), createLogger: jest.fn().mockReturnValue(logger),
transports: { transports: {

View File

@ -15,6 +15,7 @@ jest.mock("winston", () => ({
printf: jest.fn(), printf: jest.fn(),
padLevels: jest.fn(), padLevels: jest.fn(),
ms: jest.fn(), ms: jest.fn(),
splat: jest.fn(),
}, },
createLogger: jest.fn().mockReturnValue({ createLogger: jest.fn().mockReturnValue({
silly: jest.fn(), silly: jest.fn(),

View File

@ -21,6 +21,7 @@ jest.mock("winston", () => ({
padLevels: jest.fn(), padLevels: jest.fn(),
ms: jest.fn(), ms: jest.fn(),
printf: jest.fn(), printf: jest.fn(),
splat: jest.fn(),
}, },
createLogger: jest.fn().mockReturnValue(logger), createLogger: jest.fn().mockReturnValue(logger),
transports: { transports: {