JetBrains Rider
 
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Testing JavaScript

Last modified: 30 May 2023

Required plugins: JavaScript and TypeScript, a test framework-specific plugin (if applicable

With JetBrains Rider, you can run and debug JavaScript unit tests using Mocha, Karma, Jest, Protractor, and Cucumber.js.

You can see the test results in a treeview and easily navigate to the test source from there. Test status is shown next to the test in the editor with an option to quickly run or debug it:

Run single test from the editor

For Jest, Karma, and Mocha you can also see a code coverage report right in JetBrains Rider.