mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Round the logged spec time
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user