diff options
author | 2023-03-07 23:36:41 +0000 | |
---|---|---|
committer | 2023-03-10 11:25:21 +0000 | |
commit | 86c6a41b4ecf80b9edf554120ddebf572599c679 (patch) | |
tree | 6f47253ea40a68d76eb2f82eaa053ea52496c214 /catalog-ui/src/app/ng2/pages/properties-assignment/declare-input/declare-input.component.spec.ts | |
parent | d03be99cba81d17bfb8681c18acf212eec9549ea (diff) |
Provide input name suggestion
Issue-ID: SDC-4427
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Ib8cebd494f900bd7f338ee4b34c7bc380a6bd07c
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/properties-assignment/declare-input/declare-input.component.spec.ts')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/properties-assignment/declare-input/declare-input.component.spec.ts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/declare-input/declare-input.component.spec.ts b/catalog-ui/src/app/ng2/pages/properties-assignment/declare-input/declare-input.component.spec.ts index c3fa1f506f..96bf9ad2da 100644 --- a/catalog-ui/src/app/ng2/pages/properties-assignment/declare-input/declare-input.component.spec.ts +++ b/catalog-ui/src/app/ng2/pages/properties-assignment/declare-input/declare-input.component.spec.ts @@ -19,25 +19,33 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { DeclareInputComponent } from './declare-input.component'; +import {ModalService} from "../../../services/modal.service"; +import {DynamicComponentService} from "../../../services/dynamic-component.service"; describe('DeclareInputComponent', () => { let component: DeclareInputComponent; let fixture: ComponentFixture<DeclareInputComponent>; + let modalService: ModalService; + let dynamicComponentService: DynamicComponentService; beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ DeclareInputComponent ] + declarations: [ DeclareInputComponent ], + providers: [ ModalService, DynamicComponentService] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(DeclareInputComponent); + modalService = TestBed.get(ModalService); + dynamicComponentService = TestBed.get(DynamicComponentService); component = fixture.componentInstance; - fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); + expect(modalService).toBeTruthy(); + expect(dynamicComponentService).toBeTruthy(); }); }); |