#46 Fixed unit test

This commit is contained in:
mauriziovitale84
2016-05-24 17:03:48 +01:00
parent bfd04f6475
commit 69c490732d
7 changed files with 117 additions and 46 deletions

View File

@@ -35,6 +35,10 @@ export class TranslationMock {
console.log('mock');
}
addComponent() {
}
public get(key: string|Array<string>, interpolateParams?: Object): Observable<string|any> {
if (!key) {
throw new Error('Parameter "key" required');