diff --git a/__mocks__/electron.ts b/__mocks__/electron.ts index 1abb79855a..bc536142cf 100644 --- a/__mocks__/electron.ts +++ b/__mocks__/electron.ts @@ -30,4 +30,7 @@ export default { ipcRenderer: { on: jest.fn(), }, + powerMonitor: { + on: jest.fn(), + }, };