Merge remote-tracking branch 'origin/rewrite' into rewrite

This commit is contained in:
Leo Horie 2016-12-06 23:29:30 -05:00
commit b4f1f35c54

View file

@ -202,7 +202,10 @@ module.exports = new function init() {
status = 1
}
}
console.log(results.length + " assertions completed in " + Math.round(new Date - start) + "ms")
console.log(
results.length + " assertions completed in " + Math.round(new Date - start) + "ms, " +
"of which " + results.filter(function(result){return result.error}).length + " failed"
)
if (hasProcess && status === 1) process.exit(1)
}