mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Mock ipcMain.on
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
parent
c1120239db
commit
e6e0ce05d2
@ -30,6 +30,9 @@ export default {
|
|||||||
ipcRenderer: {
|
ipcRenderer: {
|
||||||
on: jest.fn(),
|
on: jest.fn(),
|
||||||
},
|
},
|
||||||
|
ipcMain: {
|
||||||
|
on: jest.fn(),
|
||||||
|
},
|
||||||
powerMonitor: {
|
powerMonitor: {
|
||||||
once: jest.fn(),
|
once: jest.fn(),
|
||||||
on: jest.fn(),
|
on: jest.fn(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user