test(query-core/mutationCache): add test for 'remove' splicing target mutation from scope with multiple mutations#10103
Conversation
… mutation from scope with multiple mutations
|
📝 WalkthroughWalkthroughAdds a new test suite "remove" to the MutationCache test file that verifies targeted removal of mutations within a scoped mutation set, ensuring that removing one mutation only affects the specific mutation and preserves others in the same scope. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 5a7fd80
☁️ Nx Cloud last updated this comment at |
🎯 Changes
Add a test to verify that
removecorrectly splices only the target mutation from the scope's internal array when multiple scoped mutations exist.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit