import 'zone.js/testing' ; import { getTestBed } from '@angular/core/testing' ; import { BrowserDynamicTestingModule , platformBrowserTesting } from '@angular/platform-browser/testing' ; declare const require ; getTestBed ( ) . initTestEnvironment ( BrowserDynamicTestingModule , platformBrowserTesting ( ) , { teardown : { destroyAfterEach : false } } ) ; const context = require . context ( './' , true , /\.spec\.ts$/ ) ; context . keys ( ) . map ( context ) ;