import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { NgTabComponent } from './ng-tab.component'; describe('NgTabComponent', () => { let component: NgTabComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ NgTabComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(NgTabComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('creates the component', () => { expect(component).toBeTruthy(); }); });