aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/shared')
-rw-r--r--src/app/shared/services/mapping-editor.service.spec.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/app/shared/services/mapping-editor.service.spec.ts b/src/app/shared/services/mapping-editor.service.spec.ts
index cce5dfa..a30a4a9 100644
--- a/src/app/shared/services/mapping-editor.service.spec.ts
+++ b/src/app/shared/services/mapping-editor.service.spec.ts
@@ -313,5 +313,10 @@ describe('MappingEditorService', () => {
service.handlekeyCompletion();
expect(spy).toHaveBeenCalled();
});
-});
+ it('should test setTemplateDataForStore function', ()=>{
+ service.setTemplateDataForStore('data');
+ let tmpDaa = service.getTemplateDataFromStore();
+ expect(service.storedTemplateData).toBe('data');
+ });
+}); \ No newline at end of file