test(query-core/queryClient): add test for 'getMutationDefaults' matching only relevant mutation defaults#10099
Conversation
…hing only relevant mutation defaults
|
📝 WalkthroughWalkthroughA unit test was added to the query-core test suite to verify that mutation default options are independently stored and retrieved per key, with no production code modifications. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 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 aecfeff
☁️ Nx Cloud last updated this comment at |
🎯 Changes
getMutationDefaultsreturns only matching defaults when multiple mutation defaults are set with different keyspartialMatchKeyfalse branch ingetMutationDefaultsforEach loop✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit