From 35b48c365e812704b818915960e95d80e0c88da1 Mon Sep 17 00:00:00 2001 From: Olivier Combe Date: Thu, 23 Mar 2017 22:05:35 +0100 Subject: [PATCH] test(service): fixed missing imports --- tests/translate.service.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/translate.service.spec.ts b/tests/translate.service.spec.ts index f41ce983..504a94b5 100644 --- a/tests/translate.service.spec.ts +++ b/tests/translate.service.spec.ts @@ -3,6 +3,9 @@ import {TranslateService, TranslateLoader, LangChangeEvent, TranslationChangeEve import {Observable} from "rxjs/Observable"; import {getTestBed, TestBed, fakeAsync, tick} from "@angular/core/testing"; +import 'rxjs/add/observable/timer'; +import 'rxjs/add/operator/mapTo'; + let translations: any = {"TEST": "This is a test"}; class FakeLoader implements TranslateLoader { getTranslation(lang: string): Observable {