1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
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';
8 describe('MainComponentComponent', () => {
9 let component: HeaderTabsComponent;
10 let fixture: ComponentFixture<HeaderTabsComponent>;
12 beforeEach(async(() => {
13 TestBed.configureTestingModule({
14 schemas:[CUSTOM_ELEMENTS_SCHEMA],
15 declarations: [ HeaderTabsComponent ],
16 imports:[HttpClientTestingModule,RouterTestingModule]
22 fixture = TestBed.createComponent(HeaderTabsComponent);
23 component = fixture.componentInstance;
24 fixture.detectChanges();
27 it('should create', () => {
28 expect(component).toBeTruthy();