Fix ipcRenderer more

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2022-03-06 11:41:16 +03:00
1 parent 4f03a987d3
commit 66324cb5e6
1 file changed
+4
@@ -41,6 +41,10 @@ jest.mock("electron", () => ({
on: jest.fn(), on: jest.fn(),
handle: jest.fn(), handle: jest.fn(),
}, },
ipcRenderer: {
on: jest.fn(),
invoke: jest.fn(),
},
})); }));
jest.mock("./hotbar-toggle-menu-item", () => ({ jest.mock("./hotbar-toggle-menu-item", () => ({