test(query-persist-client-core/persist): add tests for 'persistQueryClient' restore-then-subscribe flow#10878
Conversation
…lient' restore-then-subscribe flow
|
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)
📝 WalkthroughWalkthroughNew tests for ChangespersistQueryClient Tests
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 3838f8c
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
Adds unit tests for
persistQueryClient, which previously had no test coverage. The tests cover its two-step flow:unsubscribeis called before the restore completes, it never subscribes (the early-unsubscribe guard).✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit