Skip to content

Commit 4117d68

Browse files
authored
test(react-query): resolve ESLint typescript-eslint/require-await warnings (#8904)
1 parent 3799d87 commit 4117d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-query/src/__tests__/useInfiniteQuery.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ describe('useInfiniteQuery', () => {
161161
const start = 1
162162
const state = useInfiniteQuery({
163163
queryKey: key,
164-
queryFn: async ({ pageParam }) => {
164+
queryFn: ({ pageParam }) => {
165165
if (pageParam === 2) {
166166
throw new Error('error')
167167
}

0 commit comments

Comments
 (0)