You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. The issue provides a reproduction available on GitHub here
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
hasNextPage is erroneously false on the second-to-last page if the last page only contains a single node.
To Reproduce Steps to reproduce the behavior:
Insert expect(page2Items.pageInfo.hasNextPage).toBeTruthy(); above line 103 in packages/mock/tests/pagination.spec.ts. After this change, the test fails because page2Items.pageInfo.hasNextPage is erroneously false at this point.
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Describe the bug
hasNextPage
is erroneouslyfalse
on the second-to-last page if the last page only contains a single node.To Reproduce Steps to reproduce the behavior:
Insert
expect(page2Items.pageInfo.hasNextPage).toBeTruthy();
above line 103 inpackages/mock/tests/pagination.spec.ts
. After this change, the test fails becausepage2Items.pageInfo.hasNextPage
is erroneouslyfalse
at this point.Pull Request: #5891
The text was updated successfully, but these errors were encountered: