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