-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
test(query-core/mutationObserver): add test for skipping 'notify' when 'setOptions' is called with same options #10098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…n 'setOptions' is called with same options
📝 WalkthroughWalkthroughA new test case is added to the mutation observer test suite that verifies calling setOptions with identical options does not trigger a mutation cache notification event. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Suggested labels
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 028d558
☁️ Nx Cloud last updated this comment at |
🎯 Changes
MutationObserver.setOptions()does not emitobserverOptionsUpdatednotification when called with unchanged optionsshallowEqualObjectscheck branch insetOptions✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit