mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
Fix test after updating page index
This commit is contained in:
@@ -3,9 +3,9 @@ import getRowRangePageSize from './jobOutputUtils';
|
|||||||
describe('getRowRangePageSize', () => {
|
describe('getRowRangePageSize', () => {
|
||||||
test('handles range of 1', () => {
|
test('handles range of 1', () => {
|
||||||
expect(getRowRangePageSize(1, 1)).toEqual({
|
expect(getRowRangePageSize(1, 1)).toEqual({
|
||||||
page: 1,
|
page: 2,
|
||||||
pageSize: 1,
|
pageSize: 1,
|
||||||
firstIndex: 0,
|
firstIndex: 1,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
test('handles range larger than 50 rows', () => {
|
test('handles range larger than 50 rows', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user