diff options
-rw-r--r-- | ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run.component.spec.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run.component.spec.ts index 82eda851..3aa4713f 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run.component.spec.ts @@ -27,8 +27,12 @@ describe('RunComponent', () => { }); it('should test ngOnInit method', () => { + component.reportType = "Dashboard"; + component.ngOnInit(); + expect(component.stepNo).toEqual("4"); + + component.reportType = "test"; component.ngOnInit(); - component.reportType !== "Dashboard"; expect(component.stepNo).toEqual("8"); }); |