import { async , ComponentFixture , TestBed } from '@angular/core/testing' ; import { TranslatePipe } from '@ngx-translate/core' ; import { MockComponents , MockPipes } from 'ng-mocks' ; import { IconComponent } from '@medium-stories/shared' ; import { FooterSocialComponent } from './footer-social.component' ; describe ( 'FooterSocialComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ( ) => { TestBed . configureTestingModule ( { declarations : [ FooterSocialComponent , MockComponents ( IconComponent ) , MockPipes ( TranslatePipe ) ] } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( FooterSocialComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;