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

Testing Node.js

Last modified: 10 August 2022

Required plugins: JavaScript and TypeScript, Node.js

The plugins are available only in IntelliJ IDEA Ultimate, where they are enabled by default.

With IntelliJ IDEA, you can test Node.js applications using numerous frameworks.

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