ba1583d83403ca7ddc0a6e13af2b4fb3ae9d9a40
[portal/sdk.git] /
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 import { RouterTestingModule } from '@angular/router/testing';
3 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
4
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';
9
10 describe('DashboardComponent', () => {
11   let component: DashboardComponent;
12   let fixture: ComponentFixture<DashboardComponent>;
13
14   beforeEach(async(() => {
15     TestBed.configureTestingModule({
16       imports: [
17         DashboardModule,
18         RouterTestingModule,
19         BrowserAnimationsModule,
20         HttpClientTestingModule
21        ]
22     })
23     .compileComponents();
24   }));
25
26   beforeEach(() => {
27     fixture = TestBed.createComponent(DashboardComponent);
28     component = fixture.componentInstance;
29     fixture.detectChanges();
30   });
31
32   it('should create', () => {
33     expect(component).toBeTruthy();
34   });
35 });