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