import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { FlowChartPreviewComponent } from './flow-chart-preview.component'; describe('FlowChartPreviewComponent', () => { let component: FlowChartPreviewComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [FlowChartPreviewComponent], teardown: { destroyAfterEach: false } }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(FlowChartPreviewComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });