-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
test(solid-query/useQuery): migrate to fake timers with 'advanceTimersByTimeAsync', add 'expect().toBeInTheDocument()', convert sync 'queryFn' to 'sleep().then()', and add detailed timing comments #9894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
test(solid-query/useQuery): migrate to fake timers with 'advanceTimersByTimeAsync', add 'expect().toBeInTheDocument()', convert sync 'queryFn' to 'sleep().then()', and add detailed timing comments #9894
Conversation
…sByTimeAsync', add 'expect().toBeInTheDocument()', convert sync 'queryFn' to 'sleep().then()', and add detailed timing comments
|
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. 💤 Files selected but had no reviewable changes (1)
You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 4ffb3e0
☁️ Nx Cloud last updated this comment at |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9894 +/- ##
===========================================
+ Coverage 45.70% 76.63% +30.92%
===========================================
Files 200 19 -181
Lines 8437 398 -8039
Branches 1936 83 -1853
===========================================
- Hits 3856 305 -3551
+ Misses 4133 76 -4057
+ Partials 448 17 -431
🚀 New features to boost your workflow:
|
…)' pattern in queryFn
🎯 Changes
✅ Checklist
pnpm run test:pr.🚀 Release Impact