Skip to content

Commit e63191b

Browse files
make sure size is initialized correctly
1 parent b1c1270 commit e63191b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/__test__/inMemoryPagination.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test('should initialize pagination', () => {
66

77
expect(result.current.page).toBe(0)
88
expect(result.current.search).toBe('')
9-
expect(result.current.page).toBe(0)
9+
expect(result.current.size).toBe(15)
1010
})
1111

1212
test('should change page', () => {

0 commit comments

Comments
 (0)