hbenl / vscode-jasmine-test-adapter

Jasmine Test Adapter for the VS Code Test Explorer
MIT License
20 stars 20 forks source link

Can I make this work with ESM and JSDom like the Mocha Explorer? #26

Closed David-Else closed 5 years ago

David-Else commented 5 years ago

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.

hbenl commented 5 years ago

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.