added test case for welcome-dashboard component 20/103120/1
authorRupinder <rupinsi1@in.ibm.com>
Thu, 5 Mar 2020 11:21:48 +0000 (16:51 +0530)
committerRupinder <rupinsi1@in.ibm.com>
Thu, 5 Mar 2020 11:21:54 +0000 (16:51 +0530)
Wrote test cases for welcome-dashboard.component.spec.ts

Issue-ID: PORTAL-834
Change-Id: Ia7cd94fd3c7d0bea9adcdb945129291d9e0cc12f
Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/welcome-dashboard/welcome-dashboard.component.spec.ts

index 83f67d5..da27f7d 100644 (file)
@@ -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