/* tslint:disable:no-unused-variable */ import { TestBed } from '@angular/core/testing'; import { GeoInfoComponent } from './geo-info.component'; import { GeoInfoService } from './geo-info.service'; import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { TranslatePipe } from '@ngx-translate/core'; import { Store } from '@ngrx/store'; describe('Component: GeoInfo', () => { beforeEach(() => { // noinspection ReservedWordAsName TestBed.configureTestingModule({ imports: [], declarations: [GeoInfoComponent, TranslatePipe], providers: [ {provide: GeoInfoService, useValue: {}}, {provide: Store, useValue: {pipe () { return; }}}, ], schemas: [CUSTOM_ELEMENTS_SCHEMA] }); }); it('should create an instance', () => { const fixture = TestBed.createComponent(GeoInfoComponent); const app = fixture.debugElement.componentInstance; expect(app) .toBeTruthy(); }); });