diff --git a/tasks/jasmine.js b/tasks/jasmine.js index 563a64d..35aef31 100644 --- a/tasks/jasmine.js +++ b/tasks/jasmine.js @@ -232,8 +232,8 @@ module.exports = function(grunt) { }); phantomjs.on('jasmine.suiteDone', function(suiteMetaData) { - suites[currentSuite].time = suiteMetaData.duration / 1000; - + suites[suiteMetaData.id].time = suiteMetaData.duration / 1000; + if(indentLevel > 1) { indentLevel--; }