aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/vnfs/build-artifacts')
-rw-r--r--src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.spec.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.spec.ts b/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.spec.ts
index f39f08b..f7f4c8f 100644
--- a/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.spec.ts
+++ b/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.component.spec.ts
@@ -1017,4 +1017,11 @@ describe('ReferenceDataformComponent', () => {
component.fileChange(input);
}));
+
+ it('Should test openModel function to set proper values', () => {
+ component.openModel(true, 'toShowMessage', 'title');
+ expect(component.modalComponent.isShow).toBe(true);
+ expect(component.modalComponent.message).toBe('toShowMessage');
+ expect(component.modalComponent.title).toBe('title');
+ });
}); \ No newline at end of file