Update to Angular 15

This commit is contained in:
Nathanael Anderson
2024-02-22 15:23:51 -06:00
parent 6c3ef0c7f4
commit fa9d3744e0
5 changed files with 1061 additions and 1216 deletions
-6
View File
@@ -7,8 +7,6 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
@@ -16,7 +14,3 @@ getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);