From 597296cdb8c2234f945cf91d4b3d6e669af4adff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Mon, 11 Nov 2024 12:51:13 +0100 Subject: [PATCH] Fix electron-log test (#11955) --- apps/desktop/src/platform/services/electron-log.service.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/platform/services/electron-log.service.spec.ts b/apps/desktop/src/platform/services/electron-log.service.spec.ts index dd3d1112fc..918508977f 100644 --- a/apps/desktop/src/platform/services/electron-log.service.spec.ts +++ b/apps/desktop/src/platform/services/electron-log.service.spec.ts @@ -2,7 +2,7 @@ import { ElectronLogMainService } from "./electron-log.main.service"; // Mock the use of the electron API to avoid errors jest.mock("electron", () => ({ - ipcMain: { handle: jest.fn() }, + ipcMain: { handle: jest.fn(), on: jest.fn() }, })); describe("ElectronLogMainService", () => {