summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorraine Welch <lb2391@att.com>2020-03-03 15:46:08 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-03 15:46:08 +0000
commitd1cb62e4628dcc6a445b48de9f618e50e25475f4 (patch)
treec1fc46c9a4fc43eeb5f3e18b07ea179c0d9ff4d7
parent08a5f5d5e7ad8aaec28855075cdc53747da380f1 (diff)
parentbdba58831fdc9ec83e8ee51511d40a84c63987ba (diff)
Merge "test case written for data-chart component"
-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.ts4
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();
+ })
});