Merge branch 'rewrite' into array-isArray

This commit is contained in:
Barney Carroll 2016-12-16 10:51:39 +00:00
commit aa72f87408
27 changed files with 1172 additions and 529 deletions

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)
}