diff --git a/__mocks__/electron.ts b/__mocks__/electron.ts index 889a09c914..08c94f0f8c 100644 --- a/__mocks__/electron.ts +++ b/__mocks__/electron.ts @@ -13,5 +13,8 @@ module.exports = { getPath: jest.fn() } }, - dialog: jest.fn() + dialog: jest.fn(), + ipcRenderer: { + on: jest.fn() + } };