diff options
author | Lorraine Welch <lb2391@att.com> | 2020-03-03 15:46:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-03 15:46:08 +0000 |
commit | d1cb62e4628dcc6a445b48de9f618e50e25475f4 (patch) | |
tree | c1fc46c9a4fc43eeb5f3e18b07ea179c0d9ff4d7 /ecomp-sdk | |
parent | 08a5f5d5e7ad8aaec28855075cdc53747da380f1 (diff) | |
parent | bdba58831fdc9ec83e8ee51511d40a84c63987ba (diff) |
Merge "test case written for data-chart component"
Diffstat (limited to 'ecomp-sdk')
-rw-r--r-- | ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/dashboard-report-grid/data-chart/data-chart.component.spec.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/dashboard-report-grid/data-chart/data-chart.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/dashboard-report-grid/data-chart/data-chart.component.spec.ts index ea0912b2..2c67d5d7 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/dashboard-report-grid/data-chart/data-chart.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/dashboard-report-grid/data-chart/data-chart.component.spec.ts @@ -29,4 +29,8 @@ describe('DataChartComponent', () => { it('should compile', () => { expect(component).toBeTruthy(); }); + + it('should test ngOnInit method',()=>{ + expect(component.dataSource).toBeDefined(); + }) }); |