-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for existence of
Element
when comparing DOM-nody-things (#7786)…
… (clean cherry pick version) (#7995) * Check for existence of `Element` when comparing DOM-nody-things (#7786) * Fall back to deep equality for presumed DOM nodes if `Element` is not in scope (#7786) * Remove IE<9 specific fallback DOM node comparison (#7786) * Check for global DOM `Node` in `isDomNode` (#7786) In a real browser and JSDOM the check will use DOM-Level-3 `Node.isEqualNode` and for everything else a deep equality check should do the trick. * Check that `isEqualNode` is a function and remove duck typing from `isDomNode` (#7786) * Add changelog entry for streamlined DOM node comparisons in `expect` (#7786) * Correct visible PR number in CHANGELOG.md
- Loading branch information
1 parent
1983ad1
commit 494d477
Showing
4 changed files
with
49 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters