summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIndrijeet kumar <indriku1@in.ibm.com>2020-03-04 12:56:25 +0530
committerIndrijeet kumar <indriku1@in.ibm.com>2020-03-04 12:56:36 +0530
commit41de53204e3808e29870da12e218fabc2a7f86f7 (patch)
tree243e671bc400da739f2ba884e2ff07511a97a4fa
parentd1cb62e4628dcc6a445b48de9f618e50e25475f4 (diff)
err resd in header-tabs & header-tabs-wrapper com
errors resolved in header-tabs & header-tabs-wrapper components Issue-ID: PORTAL-813 Change-Id: Ia6c656f6d50217a2cabaf0f5416684e6a1450906 Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.spec.ts7
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-wrapper-component/header-tabs-wrapper.component.spec.ts6
2 files changed, 11 insertions, 2 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.spec.ts
index d297fa06..da392424 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.spec.ts
@@ -1,6 +1,9 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HeaderTabsComponent } from './header-tabs.component';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
+import { RouterTestingModule } from '@angular/router/testing';
describe('MainComponentComponent', () => {
let component: HeaderTabsComponent;
@@ -8,7 +11,9 @@ describe('MainComponentComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ HeaderTabsComponent ]
+ schemas:[CUSTOM_ELEMENTS_SCHEMA],
+ declarations: [ HeaderTabsComponent ],
+ imports:[HttpClientTestingModule,RouterTestingModule]
})
.compileComponents();
}));
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-wrapper-component/header-tabs-wrapper.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-wrapper-component/header-tabs-wrapper.component.spec.ts
index 60f464b8..9cd37313 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-wrapper-component/header-tabs-wrapper.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-wrapper-component/header-tabs-wrapper.component.spec.ts
@@ -1,6 +1,8 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HeaderTabsWrapperComponent } from './header-tabs-wrapper.component';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
+import { RouterTestingModule } from '@angular/router/testing';
describe('ReportsComponentComponent', () => {
let component: HeaderTabsWrapperComponent;
@@ -8,7 +10,9 @@ describe('ReportsComponentComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ HeaderTabsWrapperComponent ]
+ declarations: [ HeaderTabsWrapperComponent ],
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
+ imports:[RouterTestingModule]
})
.compileComponents();
}));