Home

Issue: 752

need update on jsdom ?

[issue link]

Hi,

When writing my tests scripts lately, I encountered a problem with jsdom when following the official guide.
Problem is: TypeError: jsdom.createVirutalConsole() is not a function.

Indeed, jsdom does not have a method named createVirtualConsole. I guess it was renamed VirtualConsole as one can see here. So I tried and changed that but then I encountered another error: [TypeError: jsdom.env is not a function].

Maybe nuxt needs an update on this?

If so, I think I could do it but it would take some time since I do not completely understand jsdom and I would need to dive into nuxt code.

This question is available on Nuxt.js community (#c643)