diff options
author | eschcam <cameron.scholes@est.tech> | 2023-01-06 12:17:56 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2023-02-28 12:24:57 +0000 |
commit | e546c7283de4abf182545cea1aa07a8de0233d3b (patch) | |
tree | 2966cf125ef7d089ca02ccb41aac3243bbf8ac7a /catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.spec.ts | |
parent | 1f589435d0213865e6d82b3441e1c3d18a263aaf (diff) |
Add validation for int and float constraints
Issue-ID: SDC-4316
Signed-off-by: eschcam <cameron.scholes@est.tech>
Change-Id: I6d6172743779291597305583f2a7f4f2145f57fb
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.spec.ts')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.spec.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.spec.ts b/catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.spec.ts index bfee76910e..06112e5830 100644 --- a/catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.spec.ts +++ b/catalog-ui/src/app/ng2/pages/properties-assignment/constraints/constraints.component.spec.ts @@ -19,6 +19,7 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { ConstraintsComponent } from './constraints.component'; describe('ConstraintsComponent', () => { @@ -27,7 +28,8 @@ describe('ConstraintsComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ ConstraintsComponent ] + declarations: [ ConstraintsComponent ], + imports: [FormsModule, ReactiveFormsModule] }) .compileComponents(); })); |