summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-01-25 14:59:10 +0530
committerRupinder <rupinsi1@in.ibm.com>2020-01-25 15:00:16 +0530
commitf05e06512fa8b69afc5d75c3e5aa314460371abe (patch)
treef14edfc596dc8b061f6b89c5de7a2f734dba833d /ecomp-sdk/epsdk-app-overlay
parent877e33480259adcf3cce978bc0ec2599e9563fbd (diff)
Added test case for log-component
Written one test case for Log-component Issue-ID: PORTAL-808 Change-Id: I7b2903f8968599ef08a47dddc2fa3c4051c74a81 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.component.spec.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.component.spec.ts
index 250affed..a0d81915 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/log/log.component.spec.ts
@@ -22,4 +22,9 @@ describe('LogComponent', () => {
it('should create', () => {
expect(component).toBeTruthy();
});
+
+ it('should test ngOnInit method', () => {
+ expect(component.ngOnInit).toHaveBeenCalled;
+ })
+
});