[ACS-5620] stabilise unit tests by switching to standard Angular api (#8759)

* switch to standard TestBed api for unit testing

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes
This commit is contained in:
Denys Vuika
2023-07-15 15:02:33 +01:00
committed by GitHub
parent 574bff2d8d
commit f45d69eb49
329 changed files with 3334 additions and 4050 deletions

View File

@@ -31,7 +31,7 @@ declare const require: any;
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
teardown: { destroyAfterEach: true }
}
);
// Then we find all the tests.