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: {
|
||||
on: jest.fn(),
|
||||
},
|
||||
ipcMain: {
|
||||
on: jest.fn(),
|
||||
},
|
||||
powerMonitor: {
|
||||
once: jest.fn(),
|
||||
on: jest.fn(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user