I found the instructions a bit magical, so I thought I'd spell out the usage a bit for the next person interested in trying it.
Based on the jsdom docs I had it in my head that I was was going to have to create a jsdom instance myself. "Is this plugin giving me a nice way to do that?" I wondered ...but after I read the source code I realised that this plugin is fully setting up node.js with a running dom instance (of course... makes much more sense 🤦 ).
I found the instructions a bit magical, so I thought I'd spell out the usage a bit for the next person interested in trying it.
Based on the jsdom docs I had it in my head that I was was going to have to create a jsdom instance myself. "Is this plugin giving me a nice way to do that?" I wondered ...but after I read the source code I realised that this plugin is fully setting up node.js with a running dom instance (of course... makes much more sense 🤦 ).
Anyway I hope this helps someone.