Mock powerMonitor.on

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen committed 2021-11-23 09:22:43 +02:00
1 parent d1764df614
commit e72b51192e
1 file changed
+3
+3
View File
@@ -30,4 +30,7 @@ export default {
ipcRenderer: {
on: jest.fn(),
},
powerMonitor: {
on: jest.fn(),
},
};