AAE-36484 improved standalone support for Core (#10998)

improved standalone support
This commit is contained in:
Denys Vuika
2025-07-09 08:12:17 -04:00
committed by GitHub
parent 1d2cb2390b
commit 11cb2ea688
181 changed files with 678 additions and 831 deletions

View File

@@ -15,14 +15,12 @@
* limitations under the License.
*/
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js';
import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
import { TestBed } from '@angular/core/testing';
import { platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
import { GlobalTestingModule } from './lib/testing/global-testing.module';
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), {
TestBed.initTestEnvironment(GlobalTestingModule, platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: true }
});