diff options
author | 2020-03-03 15:20:41 +0000 | |
---|---|---|
committer | 2020-03-03 15:20:41 +0000 | |
commit | eabac4afe635e87a467524bac30319614f35e2aa (patch) | |
tree | 61fa69138bc63ff68c6277ff4773c39c1aeedd01 /ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp | |
parent | 1096c1bcfdc23116eac97c0a1db00e5d0106530e (diff) | |
parent | d729a8a6d83dfb28621d07d76a4ee88921f9c487 (diff) |
Merge "errors resolved in self component"
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.ts | 19 |
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(); })); |