-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(react-query): type test usePrefetchInfiniteQuery correctly #8223
test(react-query): type test usePrefetchInfiniteQuery correctly #8223
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 7cf62d0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
// @ts-expect-error TS2345 | ||
initialPageParam: 1, | ||
getNextPageParam: () => 1, | ||
// @ts-expect-error TS2353 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TS2345 -> TS2353
initialPageParam: 1, | ||
getNextPageParam: () => 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
required field
@@ -56,24 +56,30 @@ describe('useInfinitePrefetchQuery', () => { | |||
}) | |||
|
|||
it('should not allow refetchInterval, enabled or throwOnError options', () => { | |||
usePrefetchQuery({ | |||
usePrefetchInfiniteQuery({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usePrefetchQuery -> usePrefetchInfiniteQuery
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8223 +/- ##
===========================================
+ Coverage 45.41% 81.89% +36.48%
===========================================
Files 200 26 -174
Lines 7456 359 -7097
Branches 1696 100 -1596
===========================================
- Hits 3386 294 -3092
+ Misses 3694 56 -3638
+ Partials 376 9 -367
|
No description provided.