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