update to 13

This commit is contained in:
2022-12-01 23:42:04 +08:00
parent 716b7ced8b
commit 548a2014d9
5 changed files with 17 additions and 25 deletions

View File

@@ -12,7 +12,9 @@ declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);