import { async , ComponentFixture , TestBed } from '@angular/core/testing' ; import { ShakeAlertSummaryReportComponent } from './shake-alert-summary-report.component' ; import { MockPipe } from '../../mock-pipe' ; describe ( 'ShakeAlertSummaryReportComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ( ) => { TestBed . configureTestingModule ( { declarations : [ ShakeAlertSummaryReportComponent , MockPipe ( 'sharedDirection' ) , MockPipe ( 'sharedDistance' ) , MockPipe ( 'sharedMilesKilometers' ) , MockPipe ( 'sharedNumber' ) ] } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( ShakeAlertSummaryReportComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;