CmdID

CmdID / Commands

mocha

A feature-rich JavaScript test framework. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run tests with default configuration or as configured in mocha.opts

Run tests contained at a specific location

mocha path/to/test_directoryIdentify

Run tests that match a specific grep pattern

mocha --grep regexIdentify

Run tests on changes to JavaScript files in the current directory and once initially

mocha --watchIdentify

Run tests with a specific reporter

mocha --reporter reporterIdentify