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