import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { geoJsonData } from './d3/GeoJson-data'; import { FlowMapV2Component } from './flow-map-v2.component'; import { FlowMapModule } from './flow-map.module'; describe('FlowMapComponent', () => { let component: FlowMapV2Component; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ FlowMapModule ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(FlowMapV2Component); component = fixture.componentInstance; component.geoJson = geoJsonData fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });