import { async , ComponentFixture , TestBed } from '@angular/core/testing' ; import { MatTableModule } from '@angular/material/table' ; import { MockComponent } from 'ng2-mock-component' ; import { MockPipe } from '../../mock-pipe' ; import { PagerPopulationComponent } from './pager-population.component' ; describe ( 'PagerPopulationComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ( ) => { TestBed . configureTestingModule ( { declarations : [ PagerPopulationComponent , MockComponent ( { inputs : [ 'intensity' , 'value' , 'bubble' ] , selector : 'shared-mmi' } ) , MockPipe ( 'sharedNumber' ) ] , imports : [ MatTableModule ] } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( PagerPopulationComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;