We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
isEqualNode
To reproduce it, create this test:
it('should fail', () => { const div = document.createElement('div'); const div2 = document.createElement('div'); expect(div.isEqualNode(div2)).toBeTrue(); })
Throws this error:
TypeError: div.isEqualNode is not a function. (In 'div.isEqualNode(div2)', 'div.isEqualNode' is undefined)
However, if you execute this same lines in DevTools:
The text was updated successfully, but these errors were encountered:
Merge pull request #1264 from aralroca/master
0d76bb3
feat: [#1263] Add isEqualNode method
Successfully merging a pull request may close this issue.
To reproduce it, create this test:
Throws this error:
However, if you execute this same lines in DevTools:
The text was updated successfully, but these errors were encountered: