test(lit-query/createInfiniteQueryController): add type tests - #11766
Conversation
|
View your CI Pipeline Execution ↗ for commit 0bd493c
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe pull request adds type-level tests for ChangesController type coverage
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Merge Risk: ⚪ Minimal · up to The added type tests cover the intended controller types, and no actionable merge risk was identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
size-limit report 📦
|
|
…fetch', 'fetchNextPage', and 'fetchPreviousPage' return types
🎯 Changes
Adds
createInfiniteQueryController.test-d.tswith 10 type tests:pageParamtyped byinitialPageParam, anddirectionin the query function contextdatawithoutselect, anddatatransformed byselectgetNextPageParamandgetPreviousPageParambooleandatadefaulting toInfiniteData<TQueryFnData>forCreateInfiniteQueryOptionsrefetch,fetchNextPage, andfetchPreviousPage✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit