diff --git a/src/renderer/components/hotbar/__tests__/hotbar-remove-command.test.tsx b/src/renderer/components/hotbar/__tests__/hotbar-remove-command.test.tsx index ddfc2a949e..9de6a310e3 100644 --- a/src/renderer/components/hotbar/__tests__/hotbar-remove-command.test.tsx +++ b/src/renderer/components/hotbar/__tests__/hotbar-remove-command.test.tsx @@ -26,6 +26,13 @@ const mockHotbars: { [id: string]: any } = { }, }; +jest.mock("electron", () => ({ + ipcRenderer: { + on: jest.fn(), + invoke: jest.fn(), + }, +})); + describe("", () => { let di: DiContainer; let render: DiRender;