Closed papandreou closed 1 year ago
Updating jsdom in unexpected-dom is causing trouble because NodeList instances from different windows have different constructors in jsdom 16 and above.
jsdom
unexpected-dom
NodeList
Seems like the easiest way to get unexpected and unexpected-dom to DTRT in that kind of scenario is to relax this requirement a bit and only require the objects to have the same array-like subtype.
array-like
Released in 13.2.0
Updating
jsdom
inunexpected-dom
is causing trouble becauseNodeList
instances from different windows have different constructors in jsdom 16 and above.Seems like the easiest way to get unexpected and unexpected-dom to DTRT in that kind of scenario is to relax this requirement a bit and only require the objects to have the same
array-like
subtype.