diff options
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp')
-rw-r--r-- | ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component.spec.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component.spec.ts index a273f9e0..55161812 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component.spec.ts @@ -22,4 +22,18 @@ describe('RunReportFormFieldsComponent', () => { it('should create', () => { expect(component).toBeTruthy(); }); + + it('should test ngOnInit method', () =>{ + component.ngOnInit(); + expect(component.showSpinner).toEqual(true); + expect(component.navigateToRun).toEqual(false); + }); + + it('should test QueryString method', () =>{ + component.directCallQueryParams == "test"; + component.getQueryString(); + expect(component.getQueryString).toEqual("test"); + }) + + }); |