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

Mocha

Last modified: 04 October 2022

Required plugins:

JavaScript and Typescript, Node.js -  The plugins are bundled with CLion and enabled by default.

Mocha is a JavaScript test framework that is especially helpful for executing asynchronous test scenarios. You can run Mocha tests from outside CLion, examine test results arranged in a treeview, and easily navigate to the test source from there. Next to the test, in the editor, CLion shows the status of the test with an option to quickly run or debug it.