Round the logged spec time

This commit is contained in:
Kevin Sawicki
2013-10-11 14:47:45 -07:00
parent 4549ea2058
commit f506130d3b

View File

@@ -56,5 +56,6 @@ module.exports = (grunt) ->
startTime = Date.now()
async.parallel [runCoreSpecs, runPackageSpecs], (error, results) ->
[coreSpecPassed, packageSpecsPassed] = results
grunt.log.writeln("Total spec time: #{(Date.now() - startTime)/1000}s")
elapsedTime = Math.round((Date.now() - startTime) / 100) / 10
grunt.log.writeln("Total spec time: #{elapsedTime}s")
done(coreSpecPassed and packageSpecsPassed)