mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Fix electron-log test (#11955)
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user