1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 import { RouterTestingModule } from '@angular/router/testing';
3 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
5 import { DashboardComponent } from './dashboard.component';
6 import { DashboardModule } from './dashboard.module';
7 import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
8 import { HttpClientTestingModule } from '@angular/common/http/testing';
10 describe('DashboardComponent', () => {
11 let component: DashboardComponent;
12 let fixture: ComponentFixture<DashboardComponent>;
14 beforeEach(async(() => {
15 TestBed.configureTestingModule({
19 BrowserAnimationsModule,
20 HttpClientTestingModule
27 fixture = TestBed.createComponent(DashboardComponent);
28 component = fixture.componentInstance;
29 fixture.detectChanges();
32 it('should create', () => {
33 expect(component).toBeTruthy();