nyc mocha test single file code example Example: how to run mocha tests form a file $ mocha -g 'logs a'