diff --git a/src/core/tests/query.test.tsx b/src/core/tests/query.test.tsx index dee95ba640..3206665b57 100644 --- a/src/core/tests/query.test.tsx +++ b/src/core/tests/query.test.tsx @@ -810,7 +810,6 @@ describe('query', () => { const observer = new QueryObserver(queryClient, { queryKey: key, - // @ts-expect-error (queryFn must not return undefined) queryFn: () => undefined, retry: false, })