Upgrade to Angular 15

This commit is contained in:
Chris Chen
2024-04-06 09:40:09 -07:00
parent c68d9ba749
commit 56d2bd17e4
4 changed files with 3782 additions and 3475 deletions
-5
View File
@@ -20,7 +20,6 @@ import {
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
declare const __karma__: any;
declare const require: any;
// Prevent Karma from running prematurely.
__karma__.loaded = function () {};
@@ -32,9 +31,5 @@ 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);
// Finally, start Karma to run the tests.
__karma__.start();