Skip to content

Commit 0f39aa4

Browse files
committed
chore(*): remove incorrect test added from merge
1 parent cb03084 commit 0f39aa4

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

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

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -461,32 +461,6 @@ describe('IgxGrid - Grid Paging', () => {
461461
expect(gridElement.querySelector(PAGER_CLASS)).not.toBeNull();
462462
}));
463463

464-
it('should display custom numbers in select from perPage', fakeAsync (() => {
465-
const expectedOptions = [3, 5, 10, 15, 25, 50, 100, 500];
466-
const defaultExpectedOptions = [5, 10, 15, 25, 50, 100, 500];
467-
468-
const fix = TestBed.createComponent(PagingComponent);
469-
const grid = fix.componentInstance.grid;
470-
fix.detectChanges();
471-
472-
function testOptions(expectedResults) {
473-
const options = fix.debugElement.query(By.css('igx-select')).nativeElement.querySelectorAll('igx-select-item');
474-
let option;
475-
options.forEach((el, index) => {
476-
option = Number(el.textContent.trim());
477-
expect(option).toBe(expectedResults[index]);
478-
});
479-
}
480-
481-
testOptions(expectedOptions);
482-
483-
grid.perPage = 25;
484-
fix.detectChanges();
485-
tick(16);
486-
487-
testOptions(defaultExpectedOptions);
488-
}));
489-
490464
function verifyGridPager(fix, rowsCount, firstCellValue, pagerText, buttonsVisibility) {
491465
const disabled = 'igx-button--disabled';
492466
const grid = fix.componentInstance.grid;

0 commit comments

Comments
 (0)