diff options
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/run/run-report/run-report.component.spec.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.spec.ts index 8e77e7b6..b897f149 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.spec.ts @@ -47,7 +47,17 @@ describe('RunReportFinalTableComponent', () => { component.showError("abc"); expect(component.error).toEqual(true); expect(component.showSpinner).toEqual(false); - }) + }); + + it('should test afterViewInitialProcesses method ', () =>{ + component.DashboardReportObj.length === 0; + component.reportMode === "Regular"; + component.initCnt == 0; + + component.afterViewInitialProcesses(); + expect(component.showMoreVert).toEqual(false); + expect(component.NEWdisplayedColumns).toEqual(new Array()); + }); }); |