import { waitForAsync , ComponentFixture , TestBed } from '@angular/core/testing' ; import { FeaturesComponent } from './features.component' ; import { SharedModule } from '@ngx-starter-kit/shared' ; import { SvgViewerModule } from '@ngx-starter-kit/svg-viewer' ; import { RouterTestingModule } from '@angular/router/testing' ; import { HttpClientTestingModule } from '@angular/common/http/testing' ; import { LandingComponent } from '../landing/landing.component' ; describe ( 'FeaturesComponent' , ( ) => { let component ; let fixture ; beforeAll ( ( ) => { } ) ; beforeEach ( waitForAsync ( ( ) => { TestBed . configureTestingModule ( { imports : [ SharedModule ] , declarations : [ FeaturesComponent ] , } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( FeaturesComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should be created' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;