summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/shared/services/mapping-editor.service.spec.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/shared/services/mapping-editor.service.spec.ts b/src/app/shared/services/mapping-editor.service.spec.ts
index 212508f..cce5dfa 100644
--- a/src/app/shared/services/mapping-editor.service.spec.ts
+++ b/src/app/shared/services/mapping-editor.service.spec.ts
@@ -307,5 +307,11 @@ describe('MappingEditorService', () => {
let value = service.getKeysForValues('value');
expect(value).toBe('Value');
});
+
+ it('should call refreshEditor() function', ()=> {
+ let spy = spyOn(MappingEditorService.prototype, 'refreshEditor');
+ service.handlekeyCompletion();
+ expect(spy).toHaveBeenCalled();
+ });
});