summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay
diff options
context:
space:
mode:
authorLorraine Welch <lb2391@att.com>2020-03-04 14:55:00 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-04 14:55:00 +0000
commitfb9f9eb9a6b63ced273d1148fac03f2a10a68c6e (patch)
treebd5f43ce5c56ada822cf057a5a86af2bef7dfe72 /ecomp-sdk/epsdk-app-overlay
parentaa65fd880564ece2fd6aba763a2ae39d8882b40f (diff)
parent229634803035e53c75c7503835e93263e4616a08 (diff)
Merge "errors resolved in definition component"
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay')
-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();
}));