What fresh hell is THIS now? - Patrick Lauke
Node
and NodeList
to it in its source, so I’m doubtful, but it would simplify a few things on our end if it were possible
instanceof Node
or instanceof NodeList
which makes sense, as these aren’t globally available in node
window
and document
in Node
jsdom.env(html, function(err, window) { GLOBAL.Node = window.Node; GLOBAL.NodeList = window.NodeList; axe.a11yCheck(window, function() { }); });