Repository navigation
test(vue-query/queryOptions): add type tests for 'useQueries', 'query' with 'enabled: false' and 'skipToken', and undefined 'initialData' - #12309
Conversation
…' with 'enabled: false' and 'skipToken', and undefined 'initialData'
|
|
View your CI Pipeline Execution ↗ for commit c87f6f5
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview1 package(s) bumped directly, 23 bumped as dependents. 🟩 Patch bumps
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
size-limit report 📦
|
🎯 Changes
Add type tests to
queryOptions.test-d.tsthat react-query has and vue-query was missing:should work when passed to useQueriesshould work when passed to query with enabled: falseshould work when passed to query with skipTokenshould allow undefined response in initialDataThe
useQueriestest reads the results through.value, like the other vue-query type tests.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit
queryOptionswithuseQueriesandQueryClient.query, including disabled queries,skipToken, and nullable IDs withinitialData.