Repository navigation
test(solid-query/useInfiniteQuery): match the 'skipToken' test timer advances to the 'queryFn' sleep of 10ms - #12305
Conversation
…advances to the 'queryFn' sleep of 10ms
|
|
View your CI Pipeline Execution ↗ for commit 7a54e8c
☁️ 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
In the
should not fetch when queryFn is skipToken, and fetch once it is replacedtest, change bothadvanceTimersByTimeAsync(11)calls to10, the duration of thequeryFn'ssleep(10).solid-query applies the query result directly in its subscription, so the extra 1ms is not needed. With
9, the test fails. This matches the same test in svelte-query, vue-query, and lit-query.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit