Uh oh!
There was an error while loading. Please reload this page.
test(angular-query-persist-client): use the '.then()' convention consistently - #11088
Conversation
View your CI Pipeline Execution ↗ for commit 794b2c8
☁️ Nx Cloud last updated this comment at |
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe persisted query test rewrites its delayed ChangesPersisted query test
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
size-limit report 📦
|
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
🎯 Changes
The
queryFnin "should not refetch after restoring when data is fresh" was left asasync/awaiteven though the rest of the file uses the.then()convention. The side effect (fetched = true) happens strictly afterawait sleep(...), so it can be expressed assleep(...).then(() => { ... })without changing execution order.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit