e137dfd63436b4b61d351d32c93ef5416c905da0
[portal/sdk.git] /
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
3 import { DefinitionComponent } from './definition.component';
4 import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
5 import { HttpClientTestingModule } from '@angular/common/http/testing';
6 import { FormsModule } from '@angular/forms';
7 import { RouterTestingModule } from '@angular/router/testing';
8
9 describe('PilotPageComponent', () => {
10   let component: DefinitionComponent;
11   let fixture: ComponentFixture<DefinitionComponent>;
12
13   beforeEach(async(() => {
14     TestBed.configureTestingModule({
15       schemas:[CUSTOM_ELEMENTS_SCHEMA],
16       declarations: [ DefinitionComponent ],
17       imports:[
18         FormsModule,
19         HttpClientTestingModule,
20         RouterTestingModule
21       ]
22     })
23     .compileComponents();
24   }));
25
26   beforeEach(() => {
27     fixture = TestBed.createComponent(DefinitionComponent);
28     component = fixture.componentInstance;
29     fixture.detectChanges();
30   });
31
32   it('should create', () => {
33     expect(component).toBeTruthy();
34   });
35 });