JavaScript Test Runner add codelens near describe
, it
, and test
keywords permitting to run associated tests and outputing result in a Code integrated terminal.
Currently it works out of the box for Mocha and Jest test runner.
javascript-test-runner.additionalArgs
: CLI args to pass to test runner.
Example : "--watch"
javascript-test-runner.envVars
: Environment variables to set before running a test.
Example : { NODE_ENV": "test" }
This extension works currently with :
- Mocha
- Jest
Visit the Troubleshooting Guide.
Please feel free to fork, improve, make pull requests or fill issues. I'll be glad to fix bugs you encountered or improve the extension.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Please be advised that any kind of contribution (code, bug report, idea ...) deserves to appear here. If you don't appear here don't hesitate to open a new ticket. In the other hand if you don't want to be mentionned don't hesitate to notice it to me.