summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/shared/services/mapping-editor.service.spec.ts5
1 files changed, 5 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 d7d042d..212508f 100644
--- a/src/app/shared/services/mapping-editor.service.spec.ts
+++ b/src/app/shared/services/mapping-editor.service.spec.ts
@@ -302,5 +302,10 @@ describe('MappingEditorService', () => {
service.getReferenceList();
});
+ it('should test getKeysForValues function to return key value', ()=>{
+ service.paramContent = '{"Value":"value","key":"key"}';
+ let value = service.getKeysForValues('value');
+ expect(value).toBe('Value');
+ });
});