
mocha
List of commands for mocha:
-
mocha:tldr:3ea56 mocha: Run tests on changes to JavaScript files in the current directory and once initially.$ mocha --watchtry on your machineexplain this command
-
mocha:tldr:5ab49 mocha: Run tests with a specific reporter.$ mocha --reporter ${reporter}try on your machineexplain this command
-
mocha:tldr:99a64 mocha: Run tests contained at a specific location.$ mocha ${directory-with-tests}try on your machineexplain this command
-
mocha:tldr:db218 mocha: Run tests with default configuration or as configured in `mocha.opts`.$ mochatry on your machineexplain this command
-
mocha:tldr:fa7fa mocha: Run tests that match a specific grep pattern.$ mocha --grep ${regular_expression}try on your machineexplain this command