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

Mocha

Last modified: 12 December 2022

Required plugins:

JavaScript and TypeScript -  The plugin is bundled with GoLand and enabled by default.

Node.js -  Install the plugin on the Settings/Preferences | Plugins page, tab Marketplace.

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