mirror of
https://github.com/finos/SymphonyElectron.git
synced 2026-07-29 15:55:55 -05:00
Electron-66 (Unit Tests) (#125)
* ELECTRON-66 - Fixed the target version * ELECTRON-66 - Fixed activity detection and config unit tests
This commit is contained in:
@@ -28,6 +28,7 @@ describe('Tests for Activity Detection', function() {
|
||||
});
|
||||
|
||||
it('should get user activity where user is not idle', function() {
|
||||
activityDetection.setActivityWindow(120000, electron.ipcRenderer);
|
||||
const data = activityDetection.activityDetection();
|
||||
|
||||
expect(data.isUserIdle).toBe(false);
|
||||
|
||||
Reference in New Issue
Block a user