Skip to content

Commit fab98ee

Browse files
committed
test(input-group): additional check in input reactive form test#9997
1 parent 01d97e9 commit fab98ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

projects/igniteui-angular/src/lib/directives/input/input.directive.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,16 @@ describe('IgxInput', () => {
521521
fixture.detectChanges();
522522
const igxInput = fixture.componentInstance.strIgxInput;
523523

524+
expect(igxInput.disabled).toBe(false);
525+
expect(igxInput.inputGroup.disabled).toBe(false);
526+
524527
fixture.componentInstance.form.disable();
525528
expect(igxInput.disabled).toBe(true);
529+
expect(igxInput.inputGroup.disabled).toBe(true);
526530

527531
fixture.componentInstance.form.get('str').enable();
528532
expect(igxInput.disabled).toBe(false);
533+
expect(igxInput.inputGroup.disabled).toBe(false);
529534
}));
530535

531536
it('should style input when required is toggled dynamically.', () => {

0 commit comments

Comments
 (0)