import { async , ComponentFixture , TestBed } from '@angular/core/testing' ; import { MockPipe } from '../../mock-pipe' ; import { HeaderComponent } from './header.component' ; describe ( 'HeaderComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ( ) => { TestBed . configureTestingModule ( { declarations : [ HeaderComponent , MockPipe ( 'eventDateTime' ) , MockPipe ( 'eventDepth' ) , MockPipe ( 'eventLocation' ) , MockPipe ( 'isScenarioEvent' ) ] } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( HeaderComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;