[DSC-192] lint fixes

This commit is contained in:
Corrado Lombardi
2021-09-24 18:49:13 +02:00
parent 010dee7a16
commit eb14b6c5ad
2 changed files with 15 additions and 12 deletions

View File

@@ -68,11 +68,11 @@ describe('ValidationSuggestionsComponent', () => {
});
it('it should be true', () => {
fixture.detectChanges();
let input = fixture.debugElement.query(By.css('input'));
let el = input.nativeElement;
expect(el.readOnly).toBe(true)
const input = fixture.debugElement.query(By.css('input'));
const element = input.nativeElement;
expect(element.readOnly).toBe(true);
});
})
});
describe('test input field readonly property when input disable is false', () => {
beforeEach(() => {
comp.disable = false;
@@ -80,10 +80,10 @@ describe('ValidationSuggestionsComponent', () => {
});
it('it should be true', () => {
fixture.detectChanges();
let input = fixture.debugElement.query(By.css('input'));
let el = input.nativeElement;
expect(el.readOnly).toBe(false)
const input = fixture.debugElement.query(By.css('input'));
const element = input.nativeElement;
expect(element.readOnly).toBe(false);
});
})
})
});
});
});