how to run mocha tests with webpack code example Example: how to run mocha tests form a file $ mocha -g 'logs a'