aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.ts
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-09-24 14:27:20 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-09-24 14:27:20 +0200
commite3f9c7fedc3e11b49e68498c6a579e7b44213c88 (patch)
treeb11538866bcc2081c859fa79bbc4dd3981ff5a63 /src/test.ts
parent5db0a156731dd36394f2fb22125b8cabcd95a783 (diff)
Update Angular to 15
Issue-ID: PORTALNG-122 Change-Id: Ieb7190f9510975c9cea69696ba82966f48993e6c Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src/test.ts')
-rw-r--r--src/test.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test.ts b/src/test.ts
index 36b9be6..c64afa3 100644
--- a/src/test.ts
+++ b/src/test.ts
@@ -23,20 +23,5 @@ import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
-declare const require: {
- context(
- path: string,
- deep?: boolean,
- filter?: RegExp,
- ): {
- keys(): string[];
- <T>(id: string): T;
- };
-};
-
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());
-// Then we find all the tests.
-const context = require.context('./', true, /\.spec\.ts$/);
-// And load the modules.
-context.keys().forEach(context);