Changed to use TestBed.inject method instead of deprecated TestBed.get

This commit is contained in:
Giuseppe Digilio
2020-11-20 15:21:34 +01:00
parent 32dc9a80a6
commit 79285b203b
80 changed files with 2269 additions and 2635 deletions

View File

@@ -3,6 +3,11 @@ import 'zone.js/dist/zone';
import 'reflect-metadata';
import { enableProdMode } from '@angular/core';
/******************************************************************
* Load `$localize` - used if i18n tags appear in Angular templates.
*/
import '@angular/localize/init';
import { environment } from './environments/environment';
if (environment.production) {
@@ -11,4 +16,3 @@ if (environment.production) {
export { ServerAppModule } from './modules/app/server-app.module';
export { ngExpressEngine } from '@nguniversal/express-engine';
export { provideModuleMap } from '@nguniversal/module-map-ngfactory-loader';