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

Mock ipc once more

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-03-07 08:35:04 +03:00
parent 11a78772fd
commit 73de01a495

View File

@ -26,6 +26,13 @@ const mockHotbars: { [id: string]: any } = {
},
};
jest.mock("electron", () => ({
ipcRenderer: {
on: jest.fn(),
invoke: jest.fn(),
},
}));
describe("<HotbarRemoveCommand />", () => {
let di: DiContainer;
let render: DiRender;