macaca-mocha macaca-mocha Installment $ npm i macaca-mocha --save Usage var mocha = new Mocha({ cwd: path.resolve(__dirname, '..')}); mocha.on('data', function(data) { console.log('data: ', data);}); mocha.on('error', function(data) { console.log('error: ', data);}); mocha.on('close', function(data) { console.log('total: ', data);}); License The MIT License (MIT)