Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JavaScript Test RunnerNew to Visual Studio Code? Get it now.
JavaScript Test Runner

JavaScript Test Runner

Preview

Nilotpal

|
18,211 installs
| (1) | Free
Run JavaScript tests easily using CodeLens
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

This extension is adapted from https://github.com/g3offrey/javascript-test-runner to add debug mode.

Please star Geoffrey's repo if you like the extension.

JavaScript Test Runner

Overview

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.

Demo

demo

Available configuration

javascript-test-runner.additionalArgs : add any additional cli args here, they will be sent to Mocha or Jest when you'll run test Example : "--watch"

Compatibility

This extension works currently with :

  • Mocha
  • Jest

Contribute

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft