hbenl / vscode-mocha-test-adapter

Mocha Test Adapter for the VS Code Test Explorer
MIT License
91 stars 31 forks source link

`extends` in config file is not supported #223

Open RReverser opened 2 years ago

RReverser commented 2 years ago

I have a config file under a non-standard name, and it works file when passed to mocha on the command line via --config, but when using via Mocha Test Explorer, I can see that none of the options are respected (it doesn't use the list of files from spec property, and even if I specify those manually via extension settings, it doesn't use timeout, parallel etc. - looks like the config file is just ignored).

UPD: Looks like the actual problem is that "extends" in Mocha config file is ignored, even though it works when using with Mocha CLI.