diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index 79ddeefe..060b7b81 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -52,7 +52,6 @@ describe('AppComponent', () => { })); it('should receive changed settings and forward to electron', async(() => { - // when(electronService.isElectronApp).thenReturn(true); const spy = createSpyObj('Electron.IpcRenderer', ['send']); spyOnProperty(electronService, 'isElectronApp').and.returnValue(true); spyOnProperty(electronService, 'ipcRenderer').and.returnValue(spy); @@ -65,7 +64,6 @@ describe('AppComponent', () => { })); it('should receive changed settings and do not forward to electron', async(() => { - // when(electronService.isElectronApp).thenReturn(true); const spy = createSpyObj('Electron.IpcRenderer', ['send']); spyOnProperty(electronService, 'isElectronApp').and.returnValue(false); settingsService.set('crash_reports', true);