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