diff --git a/tests/translate.service.spec.ts b/tests/translate.service.spec.ts index 588de18e..7c8a1275 100644 --- a/tests/translate.service.spec.ts +++ b/tests/translate.service.spec.ts @@ -300,7 +300,7 @@ export function main() { translate.get('nonExistingKey').subscribe((res: string) => { expect(missingTranslationHandler.handle).toHaveBeenCalledWith('nonExistingKey'); - expect(res).toEqual('handled'); + expect(res).toEqual('handled: nonExistingKey'); }); // mock response after the xhr request, otherwise it will be undefined