fix lint issue after merge 3.2.0

This commit is contained in:
Eugenio Romano
2019-03-30 11:05:19 +00:00
parent 7271e85f94
commit 17efd33f44
6 changed files with 47 additions and 80 deletions

View File

@@ -185,7 +185,7 @@ describe('CardViewTextItemComponent', () => {
});
fixture.detectChanges();
let value = fixture.debugElement.query(By.css(`[data-automation-id="card-textitem-edit-icon-${component.property.icon}"]`));
const value = fixture.debugElement.query(By.css(`[data-automation-id="card-textitem-edit-icon-${component.property.icon}"]`));
expect(value).toBeNull();
expect(value.nativeElement.innerText.trim()).toBe('FAKE-ICON');
});
@@ -325,7 +325,7 @@ describe('CardViewTextItemComponent', () => {
}));
it('should render the default as value if the value is empty, clickable is false and displayEmpty is true', (done) => {
let functionTestClick = () => {
const functionTestClick = () => {
done();
};