I believe those callbacks are designed only to work with jsdom.env. For jsdom.jsdom, you’ll want to use just window.addEventListener(“load”, …).
--
You received this message because you are subscribed to the Google Groups "jsdom" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jsdom+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.