mocha Command Examples

A feature-rich JavaScript test framework. More information: https://mochajs.org.

mocha

mocha {{directory/with/tests}}

mocha --grep {{regular_expression}}

mocha --watch

mocha --reporter {{reporter}}