mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Mock powerMonitor.on
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
1 file changed
+3
@@ -30,4 +30,7 @@ export default {
|
|||||||
ipcRenderer: {
|
ipcRenderer: {
|
||||||
on: jest.fn(),
|
on: jest.fn(),
|
||||||
},
|
},
|
||||||
|
powerMonitor: {
|
||||||
|
on: jest.fn(),
|
||||||
|
},
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user