From e3f9c7fedc3e11b49e68498c6a579e7b44213c88 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Tue, 24 Sep 2024 14:27:20 +0200 Subject: Update Angular to 15 Issue-ID: PORTALNG-122 Change-Id: Ieb7190f9510975c9cea69696ba82966f48993e6c Signed-off-by: Fiete Ostkamp --- src/test.ts | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/test.ts') 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[]; - (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); -- cgit 1.2.3-korg