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