We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c4d9ad commit d4745b5Copy full SHA for d4745b5
1 file changed
src/search-manager/data/apiHooks.ts
@@ -187,8 +187,7 @@ export const useContentSearchResults = ({
187
// Call this to load more pages. We include some "safety" features recommended by the docs: this should never be
188
// called while already fetching a page, and parameters (like 'event') should not be passed into fetchNextPage().
189
// See https://tanstack.com/query/v4/docs/framework/react/guides/infinite-queries
190
- /* istanbul ignore next: infinite query pagination is pretty complex to test properly */
191
- fetchNextPage: () => {
+ fetchNextPage: /* istanbul ignore next */ () => {
192
if (!query.isFetching && !query.isFetchingNextPage) {
193
// eslint-disable-next-line @typescript-eslint/no-floating-promises
194
query.fetchNextPage();
0 commit comments