coderoad/coderoad-vscode

Test Runner executable not working (Windows)

ShMcK opened this issue · 1 comments

ShMcK commented

It seems that the executable isn't recognized like on Linux/Mac.
But the same command works from the command line on Windows, too

Error: Command failed: node_modules/.bin/mocha
`node_modules` is not recognized as an internal or external command, operable program or batch file

@HeIp feel free to subscribe here for updates

ShMcK commented

Should be resolved.

I changed the path in the test runner to call npm test, instead of the /node_modules/.bin/mocha and all is well! Windows works again!

Thanks a lot for your help @Help, very much appreciated!