mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 11:33:04 +00:00
[DSC-192] lint fixes
This commit is contained in:
@@ -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);
|
||||
});
|
||||
})
|
||||
})
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user