import { ComponentFixture , TestBed , waitForAsync } from '@angular/core/testing' ; import { FooterComponent } from './footer.component' ; describe ( 'FooterComponent' , ( ) => { let component ; let fixture ; beforeEach ( waitForAsync ( ( ) => { TestBed . configureTestingModule ( { declarations : [ FooterComponent ] , } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( FooterComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; test ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; test ( 'matching snapshot' , ( ) => { expect ( fixture ) . toMatchSnapshot ( ) ; } ) ; } ) ;