diff options
author | Rupinder <rupinsi1@in.ibm.com> | 2020-03-05 16:51:48 +0530 |
---|---|---|
committer | Rupinder <rupinsi1@in.ibm.com> | 2020-03-05 16:51:54 +0530 |
commit | 5100473f55b6e4195c1d1abbd7fa2c8d7205ad05 (patch) | |
tree | e59284fdd14fe809e9a6aa91eb49dd7865c72143 /ecomp-sdk/epsdk-app-os | |
parent | fdca94b6c8b208640397cd76126e56b15971dea2 (diff) |
added test case for welcome-dashboard component
Wrote test cases for welcome-dashboard.component.spec.ts
Issue-ID: PORTAL-834
Change-Id: Ia7cd94fd3c7d0bea9adcdb945129291d9e0cc12f
Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-os')
-rw-r--r-- | ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/welcome-dashboard/welcome-dashboard.component.spec.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/welcome-dashboard/welcome-dashboard.component.spec.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/welcome-dashboard/welcome-dashboard.component.spec.ts index 83f67d5b..da27f7d1 100644 --- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/welcome-dashboard/welcome-dashboard.component.spec.ts +++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/welcome-dashboard/welcome-dashboard.component.spec.ts @@ -81,4 +81,17 @@ describe('WelcomeDashboardComponent', () => { it('should compile', () => { expect(component).toBeTruthy(); }); + + it('should test record method', () => { + component.record(event); + }); + + it('should test updateNote method', () => { + component.updateNote(""); + }); + + it('should test addNote method', () => { + component.addNote(); + }); + });
\ No newline at end of file |