mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 00:30:02 +00:00
Update frontend to Angular v15 (#110)
* Update Typescript to 4.9.0 * Update Angular to v15 * Update Angular Flex Layout to v15 * Update Angular CDK to v15 * Update Angular CDK to v15 * Update Angular Material to v15 * WIP: Update Angular Material to v15 * Fix progress bar colors * Fix company logos size * Update angular minor version * Update mat-table-filter Update @angular/youtube-player * Update rxjs * Fix search-bar layout Fix autocomplete layout Change mat-icon-button to mat-fab in game-detail-view * Fix sort selector drop-down checkmark
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user