test(query-persist-client-core/createPersister): add test for 'persisterGc' keeping valid entries#10882
Conversation
…terGc' keeping valid entries
|
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)
📝 WalkthroughWalkthroughThis PR adds a test case to verify that the garbage collection function ( ChangesCache GC preservation coverage
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
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 8630efb
☁️ 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 a unit test for
persisterGccovering the case where a stored entry is neither expired nor busted: the entry is kept in storage instead of being removed.The existing tests only cover the removal path, so this fills in the complementary "keep valid entry" branch.
✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit