diff options
author | Lorraine Welch <lb2391@att.com> | 2020-03-04 14:53:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-04 14:53:51 +0000 |
commit | 923d8b7954276a3f3270ef9d8173828c8e4b9d9b (patch) | |
tree | eb3e91a3a7aed0a5a74b054c9435b74d1b21c941 | |
parent | 61ca7f21cd9f251804e61fb2c62b2dc8cec8369a (diff) | |
parent | 41de53204e3808e29870da12e218fabc2a7f86f7 (diff) |
Merge "err resd in header-tabs & header-tabs-wrapper com"
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(); })); |