summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp
diff options
context:
space:
mode:
authorIndrijeet kumar <indriku1@in.ibm.com>2020-03-02 12:33:14 +0530
committerIndrijeet kumar <indriku1@in.ibm.com>2020-03-02 12:33:20 +0530
commitd729a8a6d83dfb28621d07d76a4ee88921f9c487 (patch)
treea88aaf73a31db998f74f8b82acb22b27df1ee3f7 /ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp
parent1fe7926c797ca4eb839fd323b31b7b9438501878 (diff)
errors resolved in self component
errors resolved in self component Issue-ID: PORTAL-813 Change-Id: I6ebcef466b06bc65dae38db63888ed912f7da54a Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/ext/profile/self/self.component.spec.ts19
1 files changed, 18 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/ext/profile/self/self.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/ext/profile/self/self.component.spec.ts
index 2e91c188..d87afceb 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/ext/profile/self/self.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/ext/profile/self/self.component.spec.ts
@@ -4,6 +4,8 @@
* ===================================================================
* Copyright © 2019 AT&T Intellectual Property. All rights reserved.
* ===================================================================
+* Modification Copyright © 2020 IBM.
+ * ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
* under the Apache License, Version 2.0 (the "License");
@@ -39,6 +41,11 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SelfComponent } from './self.component';
+import { FormsModule, ReactiveFormsModule } from '@angular/forms';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
+import { MatTableModule, MatSelectModule, MatSlideToggleModule } from '@angular/material';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
describe('SelfComponent', () => {
let component: SelfComponent;
@@ -46,7 +53,17 @@ describe('SelfComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ SelfComponent ]
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
+ declarations: [ SelfComponent ],
+ imports: [
+ ReactiveFormsModule,
+ FormsModule,
+ MatTableModule,
+ MatSelectModule,
+ MatSlideToggleModule,
+ BrowserAnimationsModule,
+ HttpClientTestingModule
+ ]
})
.compileComponents();
}));