diff options
-rw-r--r-- | src/app/shared/services/mapping-editor.service.spec.ts | 5 |
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 a30a4a9..d406d19 100644 --- a/src/app/shared/services/mapping-editor.service.spec.ts +++ b/src/app/shared/services/mapping-editor.service.spec.ts @@ -319,4 +319,9 @@ describe('MappingEditorService', () => { let tmpDaa = service.getTemplateDataFromStore(); expect(service.storedTemplateData).toBe('data'); }); + + it('should test selectedObj function', ()=>{ + service.selectedObj('data'); + expect(service.newObject).toBe('data'); + }); });
\ No newline at end of file |