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

Testing JavaScript

Last modified: 11 October 2023

With CLion, you can run and debug JavaScript unit tests using Mocha, Jest, and Protractor.

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 and Mocha you can also see a code coverage report right in CLion.