mirror of
https://github.com/google/nomulus.git
synced 2025-07-29 05:56:26 +02:00
Angular v14 -> v15 update (#1903)
This commit is contained in:
parent
15d0507914
commit
ffdbd1e883
5 changed files with 4434 additions and 4057 deletions
|
@ -7,20 +7,8 @@ import {
|
|||
platformBrowserDynamicTesting
|
||||
} from '@angular/platform-browser-dynamic/testing';
|
||||
|
||||
declare const require: {
|
||||
context(path: string, deep?: boolean, filter?: RegExp): {
|
||||
<T>(id: string): T;
|
||||
keys(): string[];
|
||||
};
|
||||
};
|
||||
|
||||
// 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue