Skip to content

Commit 254009b

Browse files
Martin DragnevMartin Dragnev
authored andcommitted
refactor(*): lint error fixed
1 parent 55b7b1d commit 254009b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

projects/igniteui-angular/src/lib/grids/hierarchical-grid/hierarchical-grid.navigation.spec.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,25 +1212,25 @@ describe('IgxHierarchicalGrid Specific Scenarios Navigation', () => {
12121212
setupHierarchicalGridScrollDetection(fixture, hierarchicalGrid);
12131213
}));
12141214

1215-
fit("should navigate to the first cell of next row using Tab from last cell in the row above when the first row is expanded",(async() =>{
1216-
const row=hierarchicalGrid.getRowByIndex(0);
1215+
it('should navigate to the first cell of next row using Tab from last cell in the row above', (async () => {
1216+
const row = hierarchicalGrid.getRowByIndex(0);
12171217
(row as IgxHierarchicalRowComponent).toggle();
12181218
await wait(100);
12191219
fixture.detectChanges();
12201220

1221-
const cell=hierarchicalGrid.getCellByColumn(2,'ProductName');
1221+
const cell = hierarchicalGrid.getCellByColumn(2, 'ProductName');
12221222
cell.nativeElement.focus();
12231223
await wait(100);
12241224
fixture.detectChanges();
12251225

1226-
const keyboardEvent=new KeyboardEvent('keydown',{
1226+
const keyboardEvent = new KeyboardEvent('keydown', {
12271227
key: 'Tab'
1228-
})
1228+
});
12291229
cell.dispatchEvent(keyboardEvent);
12301230
await wait(100);
12311231
fixture.detectChanges();
12321232

1233-
const currentCell=hierarchicalGrid.getCellByColumn(3,'ID');
1233+
const currentCell = hierarchicalGrid.getCellByColumn(3, 'ID');
12341234
expect(currentCell.focused).toBe(true);
12351235
expect(currentCell.rowIndex).toBe(3);
12361236

@@ -1344,10 +1344,10 @@ export class IgxHierarchicalGridSmallerChildComponent extends IgxHierarchicalGri
13441344
</igx-row-island>
13451345
</igx-hierarchical-grid>`
13461346
})
1347-
export class IgxHierarchicalGridSpecificScenarioComponent extends IgxHierarchicalGridTestBaseComponent{
1348-
constructor(){
1347+
export class IgxHierarchicalGridSpecificScenarioComponent extends IgxHierarchicalGridTestBaseComponent {
1348+
constructor() {
13491349
super();
1350-
this.data=this.generateData(20,2);
1350+
this.data = this.generateData(20, 2);
13511351
}
13521352
generateData(count: number, level: number) {
13531353
const prods = [];
@@ -1362,4 +1362,4 @@ export class IgxHierarchicalGridSpecificScenarioComponent extends IgxHierarchica
13621362
}
13631363
return prods;
13641364
}
1365-
}
1365+
}

0 commit comments

Comments
 (0)