testify
testify copied to clipboard
Path is not used
Describe the bug The path is not used when it is set.
To Reproduce
Steps to reproduce the behavior:
In the VScode config, change the extension configuration testify.testRunnerPath
to ./node_modules/mocha/bin/mocha.js
It still runs the tests with node_modules/.bin/mocha
Expected behavior To run with the said file
Screenshots/GIFs
Platform:
ZorinOS 16.2 [email protected]
Test Framework: [email protected] [email protected] [email protected]
Hello!
Is there any reason why using node_modules/.bin/mocha
is not good enough?
Hello!
I'm sorry for taking embarrassingly long to respond. I found the issue.
The problem is the path you used. You need to point the extension to a binary file, not a JavaScript file. If the file is not a valid test runner, the extension uses the default path.
❌ ./node_modules/mocha/bin/mocha.js
✅ ./node_modules/mocha/bin/_mocha