diff --git a/bin/_mocha b/bin/_mocha index c16ea7b0e6..85c5e8d914 100755 --- a/bin/_mocha +++ b/bin/_mocha @@ -327,26 +327,6 @@ if (program.watch) { mocha.files = files; mocha.run(process.exit); -// enable growl notifications - -function growl(runner, reporter) { - var notify = require('growl'); - - runner.on('end', function(){ - var stats = reporter.stats; - if (stats.failures) { - var msg = stats.failures + ' of ' + runner.total + ' tests failed'; - notify(msg, { name: 'mocha', title: 'Failed', image: images.fail }); - } else { - notify(stats.passes + ' tests passed in ' + stats.duration + 'ms', { - name: 'mocha' - , title: 'Passed' - , image: images.pass - }); - } - }); -} - /** * Parse list. */