diff --git a/__mocks__/electron.ts b/__mocks__/electron.ts index 67a23c1ce2..fdbf1542ec 100644 --- a/__mocks__/electron.ts +++ b/__mocks__/electron.ts @@ -32,5 +32,6 @@ export default { }, powerMonitor: { once: jest.fn(), + on: jest.fn(), }, };