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:
Kiran Niranjan
2017-06-05 09:55:34 -07:00
committed by Lynn
parent 3f9167b3d6
commit 42b09b6894
2 changed files with 1 additions and 18 deletions
+1
View File
@@ -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);