import { ComponentFixture , TestBed } from '@angular/core/testing' ; import { BootstrapComponent } from './bootstrap.component' ; import { SnippetComponent } from '../../snippet/snippet.component' ; import { HttpClientTestingModule } from '@angular/common/http/testing' ; describe ( 'BootstrapComponent' , ( ) => { let component ; let fixture ; beforeEach ( ( ) => { TestBed . configureTestingModule ( { imports : [ HttpClientTestingModule ] , declarations : [ BootstrapComponent , SnippetComponent ] } ) ; } ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( BootstrapComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;