summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
authorIndrijeet kumar <indriku1@in.ibm.com>2020-03-04 13:04:48 +0530
committerIndrijeet kumar <indriku1@in.ibm.com>2020-03-04 13:04:54 +0530
commit229634803035e53c75c7503835e93263e4616a08 (patch)
treec1cf2a139497bc360b4db1a58fb4cb473cad14e1 /ecomp-sdk
parentd1cb62e4628dcc6a445b48de9f618e50e25475f4 (diff)
errors resolved in definition component
errors resolved in definition component Issue-ID: PORTAL-813 Change-Id: I4b0ad5182de92e5ddfea3587448631e7c568a87d Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
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/definition.component.spec.ts12
1 files changed, 11 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.component.spec.ts
index 26e51d34..e137dfd6 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.component.spec.ts
@@ -1,6 +1,10 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { DefinitionComponent } from './definition.component';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
+import { FormsModule } from '@angular/forms';
+import { RouterTestingModule } from '@angular/router/testing';
describe('PilotPageComponent', () => {
let component: DefinitionComponent;
@@ -8,7 +12,13 @@ describe('PilotPageComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ DefinitionComponent ]
+ schemas:[CUSTOM_ELEMENTS_SCHEMA],
+ declarations: [ DefinitionComponent ],
+ imports:[
+ FormsModule,
+ HttpClientTestingModule,
+ RouterTestingModule
+ ]
})
.compileComponents();
}));