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.
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 fromspec
property, and even if I specify those manually via extension settings, it doesn't usetimeout
,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.