-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
Trying to use diff-dom in non-test Node.js project with jsdom, I noticed the document option that allows manually specifying the value, but that option along does not work.
The issue is caused by DiffFInder doing a global typeof Element check that prevents the expected nodeToObj() conversion:
Workaround:
dd.diff(nodeToObj(elementA), nodeToObj(elementB));Metadata
Metadata
Assignees
Labels
No labels