Update app.component.spec.ts

This commit is contained in:
piotrpekala7 2020-02-27 10:39:01 +01:00
parent 20a86eb6bf
commit 5abbbcdb65

View File

@ -8,6 +8,7 @@ import { PersistenceService } from 'angular-persistence';
import { ElectronService, NgxElectronModule } from 'ngx-electron';
import createSpyObj = jasmine.createSpyObj;
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { ProgressService } from './common/progress/progress.service';
describe('AppComponent', () => {
let component: AppComponent;
@ -19,7 +20,7 @@ describe('AppComponent', () => {
TestBed.configureTestingModule({
declarations: [AppComponent],
imports: [RouterTestingModule, MatIconModule, NgxElectronModule],
providers: [SettingsService, PersistenceService],
providers: [SettingsService, PersistenceService, ProgressService],
schemas: [NO_ERRORS_SCHEMA]
}).compileComponents();