2021-07-14 16:51:20 +02:00
|
|
|
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
|
|
|
|
2022-09-23 13:25:38 +02:00
|
|
|
import 'zone.js/testing';
|
2021-07-14 16:51:20 +02:00
|
|
|
import { getTestBed } from '@angular/core/testing';
|
|
|
|
import {
|
|
|
|
BrowserDynamicTestingModule,
|
|
|
|
platformBrowserDynamicTesting
|
|
|
|
} from '@angular/platform-browser-dynamic/testing';
|
|
|
|
|
|
|
|
// First, initialize the Angular testing environment.
|
|
|
|
getTestBed().initTestEnvironment(
|
|
|
|
BrowserDynamicTestingModule,
|
2022-09-23 13:37:38 +02:00
|
|
|
platformBrowserDynamicTesting(), {
|
|
|
|
teardown: { destroyAfterEach: false }
|
|
|
|
}
|
2021-07-14 16:51:20 +02:00
|
|
|
);
|