1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Mock ipcRenderer more

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-03-06 11:37:44 +03:00
parent 2969e8381a
commit 4f03a987d3

View File

@ -33,6 +33,10 @@ jest.mock("electron", () => ({
on: jest.fn(),
handle: jest.fn(),
},
ipcRenderer: {
on: jest.fn(),
invoke: jest.fn(),
},
}));
const initialTabs: DockTab[] = [