Skip to content

Commit 1636e17

Browse files
committed
chore(*): address the fact that rowExpanders and rowSelectors are switched
1 parent 6d2e855 commit 1636e17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/test-utils/grid-functions.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2282,8 +2282,8 @@ export class GridSelectionFunctions {
22822282
}
22832283
const hScrollbar = grid.headerContainer.getScroll();
22842284

2285-
expect(headerDiv.offsetWidth).toEqual(firstRowDiv.offsetWidth);
2286-
expect(headerDiv.offsetLeft).toEqual(firstRowDiv.offsetLeft);
2285+
expect(headerDiv.clientWidth).toEqual(firstRowDiv.clientWidth);
2286+
expect(headerDiv.clientWidth).toEqual(firstRowDiv.clientWidth);
22872287
if (hScrollbar.scrollWidth) {
22882288
expect(hScrollbar.offsetLeft).toEqual(firstRowDiv.offsetWidth + firstRowDiv.offsetLeft);
22892289
}

0 commit comments

Comments
 (0)