test(lit-query/createQueriesController): remove unnecessary 'as const' from 'queries' arrays and host fields - #11754
Conversation
…' from 'queries' arrays and host fields
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: TanStack/query/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe lit-query controller tests remove ChangesMutable query array test coverage
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Other Merge Risk: ⚪ Minimal · up to This change broadens lit-query test coverage for mutable arrays without changing runtime code. The type tests pass, and no material merge risk remains. 🚥 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 |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
|
View your CI Pipeline Execution ↗ for commit 2b75fef
☁️ Nx Cloud last updated this comment at |
size-limit report 📦
|
🎯 Changes
as constfrom thequeriesarrays passed tocreateQueriesControllerincreateQueriesController.test.tsandcreateQueriesController.test-d.ts, and from theidshost fields.createQueriesControllerinfers each query in the array without it, asuseQueriesdoes inreact-query, and the type tests withtoEqualTypeOfstill pass.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit