-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix #2932: check parent is null for swap delete #2933
Conversation
Hey, could you add a test case, just to ensure that the issue happens without your fix when running the test suite, then that your PR fixes it ? (also to prevent any future regression on this), thanks ! Also, as per our contribution guidelines, please target the |
b6d93eb
to
158ea78
Compare
158ea78
to
857f99a
Compare
Hi @Telroshan , I added test, and found out about the outerHTML swap issue. So fixed that and added a test for it as well. Let me know if you need anything else. |
Hmm, that's weird, I clearly run the tests without the fix and they fail. Maybe it's my last minute clean up. Will check and modify |
hi @Telroshan , I realised I removed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep all good, tests correctly fail now with the current lib's state, then pass with your fix, thanks!
Description
Please describe what changes you made, and why you feel they are necessary. Make sure to include
code examples, where applicable.
Corresponding issue: fix #2932
Testing
Please explain how you tested this change manually, and, if applicable, what new tests you added. If
you're making a change to just the website, you can omit this section.
Checklist
master
for website changes,dev
forsource changes)
approved via an issue
npm run test
) and verified that it succeeded