test(preact-query/suspense): add test cases for 'static' staleTime with number and function#10134
Conversation
…th number and function
|
📝 WalkthroughWalkthroughUpdated staleTime type annotation in the suspense test helper from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Comment |
|
View your CI Pipeline Execution ↗ for commit 689e2ba
☁️ Nx Cloud last updated this comment at |
🎯 Changes
Add test cases for
'static'staleTimeinensureSuspenseTimersto cover theclampbranch that preserves'static'value as-is.staleTime: 'static'(number type)staleTime: () => 'static'(function type)StaleTimetype from@tanstack/query-coreinstead of inline type✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit