From 96c45ae7297b5a0b0e20ab171067521975c00ad3 Mon Sep 17 00:00:00 2001 From: Rupinder Date: Wed, 4 Mar 2020 19:07:21 +0530 Subject: added test case for report-list component Wrote test case for report-list.component.spec.ts Issue-ID: PORTAL-834 Change-Id: If92eeef813cce8683546a747c4e758090d4204d0 Signed-off-by: Rupinder --- .../pages/analytics/Report_List/report-list.component.spec.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'ecomp-sdk/epsdk-app-overlay/src/main') diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.component.spec.ts index 359bee9f..2c01ff14 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.component.spec.ts @@ -93,5 +93,14 @@ describe('ReportListComponent', () => { component.close(); expect(component.showDialog).toEqual(true); expect(component.closable).toEqual(false); - }) + }); + + it('should test deleteReport method', () => { + component.deleteReport(); + }); + + it('should test openReportSchedule method', () => { + component.openReportSchedule("test"); + }); + }); \ No newline at end of file -- cgit 1.2.3-korg