mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-04 20:14:13 +00:00
Unit tests fixed
This commit is contained in:
parent
fd6393acf7
commit
d7b73b4653
@ -7,6 +7,7 @@ import { SettingsService } from './services/settings.service';
|
|||||||
import { PersistenceService } from 'angular-persistence';
|
import { PersistenceService } from 'angular-persistence';
|
||||||
import { ElectronService, NgxElectronModule } from 'ngx-electron';
|
import { ElectronService, NgxElectronModule } from 'ngx-electron';
|
||||||
import createSpyObj = jasmine.createSpyObj;
|
import createSpyObj = jasmine.createSpyObj;
|
||||||
|
import { NO_ERRORS_SCHEMA } from '@angular/core';
|
||||||
|
|
||||||
describe('AppComponent', () => {
|
describe('AppComponent', () => {
|
||||||
let component: AppComponent;
|
let component: AppComponent;
|
||||||
@ -18,7 +19,8 @@ describe('AppComponent', () => {
|
|||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AppComponent],
|
declarations: [AppComponent],
|
||||||
imports: [RouterTestingModule, MatIconModule, NgxElectronModule],
|
imports: [RouterTestingModule, MatIconModule, NgxElectronModule],
|
||||||
providers: [SettingsService, PersistenceService]
|
providers: [SettingsService, PersistenceService],
|
||||||
|
schemas: [NO_ERRORS_SCHEMA]
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
|
|
||||||
electronService = TestBed.get(ElectronService);
|
electronService = TestBed.get(ElectronService);
|
||||||
|
Loading…
Reference in New Issue
Block a user