I am loving the Mocha Test Explorer, and I run it with "mochaExplorer.require": ["esm", "jsdom-global/register"], which enables using ES6 modules and browser code.
I would like to switch to Jasmine to get the built in spies, but have read on this support forum that JSDom is not supported? I see there is a Jest Explorer on the way, but this could well be overkill and add bloat. Cheers.
I have no experience with ESM or JSDom, so I can't give any advice on how to use them in Jasmine tests. If you can make it work with Jasmine on the command line, then it should also work with this extension.
Hi,
I am loving the Mocha Test Explorer, and I run it with
"mochaExplorer.require": ["esm", "jsdom-global/register"],
which enables using ES6 modules and browser code.I would like to switch to Jasmine to get the built in spies, but have read on this support forum that JSDom is not supported? I see there is a Jest Explorer on the way, but this could well be overkill and add bloat. Cheers.