aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/scenario/SpecRunner.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/scenario/SpecRunner.js b/src/scenario/SpecRunner.js
index fb7d5c02..1055b7f7 100644
--- a/src/scenario/SpecRunner.js
+++ b/src/scenario/SpecRunner.js
@@ -21,7 +21,6 @@ angular.scenario.SpecRunner = function() {
*/
angular.scenario.SpecRunner.prototype.run = function(spec, specDone) {
var self = this;
- var count = 0;
this.spec = spec;
this.emit('SpecBegin', spec);
@@ -59,11 +58,7 @@ angular.scenario.SpecRunner.prototype.run = function(spec, specDone) {
return handleError(error, futureDone);
}
self.emit('StepEnd', spec, future);
- if ((count++) % 10 === 0) {
- self.$window.setTimeout(function() { futureDone(); }, 0);
- } else {
- futureDone();
- }
+ self.$window.setTimeout(function() { futureDone(); }, 0);
});
} catch (e) {
self.emit('StepError', spec, future, e);