Pre-Angular upgrade fixes (#5709)

* code fixes

* code fixes

* more code fixes

* even more fixes

* add missing typescript for cli

* rollback info drawer test changes

* use npx for cli commands

* restore attach providers
This commit is contained in:
Denys Vuika
2020-05-18 14:02:15 +01:00
committed by GitHub
parent 1def8000f0
commit 347e64fd91
150 changed files with 645 additions and 461 deletions

View File

@@ -15,8 +15,10 @@
* limitations under the License.
*/
import { Injectable } from '@angular/core';
import { CookieService } from '../services/cookie.service';
@Injectable()
export class CookieServiceMock extends CookieService {
/** @override */

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { EventEmitter } from '@angular/core';
import { EventEmitter, Injectable } from '@angular/core';
import { Observable, of } from 'rxjs';
import { TranslationService } from '../services/translation.service';
@@ -24,6 +24,7 @@ export interface LangChangeEvent {
translations: any;
}
@Injectable()
export class TranslationMock implements TranslationService {
defaultLang: string = 'en';