Revert "update ng 15"

This reverts commit f46c5ce47c.
This commit is contained in:
2023-04-22 13:35:15 +02:00
parent 9ac0b9ab7d
commit 8706e10997
22 changed files with 4556 additions and 5720 deletions

View File

@@ -5,6 +5,11 @@ 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);