Skip to content

Commit

Permalink
test(MissingTranslationHandler): fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Mar 6, 2016
1 parent 23267b1 commit ce15462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/translate.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce15462

Please sign in to comment.