update ng 15

This commit is contained in:
2023-04-22 13:13:59 +02:00
parent ca4e881c3d
commit f46c5ce47c
22 changed files with 5725 additions and 4561 deletions

View File

@@ -5,11 +5,6 @@ import {getTestBed} from '@angular/core/testing';
import {BrowserDynamicTestingModule, platformBrowserDynamicTesting} from '@angular/platform-browser-dynamic/testing';
type req = {keys: () => {map: (context: req) => void}};
declare const require: {context: (a: string, b: boolean, c: RegExp) => req};
// 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().map(context);