feat: init
This commit is contained in:
14
src/testing/init-test.ts
Normal file
14
src/testing/init-test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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 },
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user