err in dashboard component resolved 93/101793/1
authorIndrijeet kumar <indriku1@in.ibm.com>
Sun, 16 Feb 2020 15:41:50 +0000 (21:11 +0530)
committerIndrijeet kumar <indriku1@in.ibm.com>
Sun, 16 Feb 2020 15:47:56 +0000 (21:17 +0530)
error in dashboard component resolved

Issue-ID: PORTAL-813
Change-Id: I45c02b522411f72fcd9939bc5c46c044e13d9112
Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/dashboard/dashboard.component.spec.ts

index 2142338..ba1583d 100644 (file)
@@ -4,6 +4,8 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
 
 import { DashboardComponent } from './dashboard.component';
 import { DashboardModule } from './dashboard.module';
+import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
 
 describe('DashboardComponent', () => {
   let component: DashboardComponent;
@@ -15,6 +17,7 @@ describe('DashboardComponent', () => {
         DashboardModule,
         RouterTestingModule,
         BrowserAnimationsModule,
+        HttpClientTestingModule
        ]
     })
     .compileComponents();