import { HttpClientModule } from '@angular/common/http' ; import { async , ComponentFixture , TestBed } from '@angular/core/testing' ; import { AppFooterComponent } from './app-footer.component' ; describe ( 'AppFooterComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ( ) => { TestBed . configureTestingModule ( { declarations : [ AppFooterComponent ] , imports : [ HttpClientModule ] } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( AppFooterComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;