15 lines
382 B
TypeScript
15 lines
382 B
TypeScript
import { getTestBed } from '@/testing/testbed';
|
|
import {
|
|
BrowserDynamicTestingModule,
|
|
platformBrowserDynamicTesting,
|
|
} from '@angular/platform-browser-dynamic/testing';
|
|
|
|
// First, initialize the Angular testing environment.
|
|
getTestBed().initTestEnvironment(
|
|
BrowserDynamicTestingModule,
|
|
platformBrowserDynamicTesting(),
|
|
{
|
|
teardown: { destroyAfterEach: false },
|
|
}
|
|
);
|