Skip to content

Commit db73290

Browse files
HristoP96HristoP96
authored andcommitted
chore(*): revert commit vol3
1 parent 5c31ce3 commit db73290

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ describe('IgxHierarchicalGrid selection #hGrid', () => {
5454
hierarchicalGrid.reflow();
5555
fix.detectChanges();
5656

57-
const firstRow = hierarchicalGrid.getRowByIndex(0) as IgxHierarchicalRowComponent;
57+
let firstRow = hierarchicalGrid.getRowByIndex(0) as IgxHierarchicalRowComponent;
5858
firstRow.toggle();
5959
fix.detectChanges();
6060
expect(firstRow.expanded).toBeTruthy();
6161

62-
const fCell = firstRow.cells.toArray()[0];
62+
let fCell = firstRow.cells.toArray()[0];
6363

6464
// select parent cell
6565
fCell.nativeElement.focus();
@@ -81,6 +81,8 @@ describe('IgxHierarchicalGrid selection #hGrid', () => {
8181
expect(fCell.selected).toBeFalsy();
8282

8383
// select parent cell
84+
firstRow = hierarchicalGrid.getRowByIndex(0) as IgxHierarchicalRowComponent;
85+
fCell = firstRow.cells.toArray()[0];
8486
fCell.nativeElement.focus();
8587
await wait(100);
8688
fix.detectChanges();

0 commit comments

Comments
 (0)