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 |
More templates
@tanstack/angular-query-experimental
@tanstack/eslint-plugin-query
@tanstack/query-async-storage-persister
@tanstack/query-broadcast-client-experimental
@tanstack/query-core
@tanstack/query-devtools
@tanstack/query-persist-client-core
@tanstack/query-sync-storage-persister
@tanstack/react-query
@tanstack/react-query-devtools
@tanstack/react-query-next-experimental
@tanstack/react-query-persist-client
@tanstack/solid-query
@tanstack/solid-query-devtools
@tanstack/solid-query-persist-client
@tanstack/svelte-query
@tanstack/svelte-query-devtools
@tanstack/svelte-query-persist-client
@tanstack/vue-query
@tanstack/vue-query-devtools
commit: |
🎯 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