test(react-query/useSuspenseQueries): add test for suspending only pending queries when some already have cached data#10126
Conversation
…nding queries when some already have cached data
|
📝 WalkthroughWalkthroughAdds a test case to Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts (beta)
No actionable comments were generated in the recent review. 🎉 Comment |
|
View your CI Pipeline Execution ↗ for commit 9e0cf44
☁️ Nx Cloud last updated this comment at |
🎯 Changes
Add a test to verify that
useSuspenseQueriesonly suspends queries that are still pending, skipping queries that already have cached data viasetQueryData.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit