Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Runner executable not working (Windows) #451

Closed
ShMcK opened this issue Aug 19, 2020 · 1 comment
Closed

Test Runner executable not working (Windows) #451

ShMcK opened this issue Aug 19, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ShMcK
Copy link
Member

ShMcK commented Aug 19, 2020

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 ShMcK added the bug Something isn't working label Aug 19, 2020
@ShMcK ShMcK self-assigned this Aug 19, 2020
@ShMcK ShMcK changed the title Test Runner not using correct directory (Windows) Test Runner executable not working (Windows) Aug 19, 2020
@ShMcK
Copy link
Member Author

ShMcK commented Aug 19, 2020

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!

@ShMcK ShMcK closed this as completed Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant