diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-09-06 22:26:56 +0530 |
---|---|---|
committer | Arundathi Patil <arundpil@in.ibm.com> | 2019-09-06 22:27:07 +0530 |
commit | 92e2c94793f88a7fe08696f0811002858b10f608 (patch) | |
tree | fa41aff01012be77e522ed687475493003e848c6 /usecaseui-portal/src/app/views/services | |
parent | ed3a07f731f0c6f70234ca107ac46f44ec538faf (diff) |
onboard-vnf-vm component- spec fixes
Fixed multiple errors in onboard-vnf-vm component spec file
Issue-ID: USECASEUI-280
Change-Id: I59bcca90a0daaf5f2da0f2fb786178b5f80e3947
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services')
-rw-r--r-- | usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.spec.ts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.spec.ts b/usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.spec.ts index 0e49f656..07c8b959 100644 --- a/usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.spec.ts +++ b/usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.spec.ts @@ -1,6 +1,11 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; +import { TranslateModule } from '@ngx-translate/core'; +import { HttpClientModule } from '@angular/common/http'; +import { NzMessageService, NzModalService } from 'ng-zorro-antd'; import { OnboardVnfVmComponent } from './onboard-vnf-vm.component'; +import { onboardService } from '../../../core/services/onboard.service'; describe('OnboardVnfVmComponent', () => { let component: OnboardVnfVmComponent; @@ -8,7 +13,13 @@ describe('OnboardVnfVmComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ OnboardVnfVmComponent ] + schemas: [ + CUSTOM_ELEMENTS_SCHEMA, + NO_ERRORS_SCHEMA + ], + imports: [TranslateModule, HttpClientModule], + declarations: [ OnboardVnfVmComponent ], + providers: [onboardService, NzMessageService, NzModalService] }) .compileComponents(); })); |