Permalink
Browse files

Run tests on all browsers in parallel

  • Loading branch information...
1 parent a1c92e0 commit c53d076a31fa50b162fdf1bc92dcf5291cb5c57a Sergey Tatarintsev committed Mar 6, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/runner.js
View
4 lib/runner.js
@@ -52,9 +52,9 @@ module.exports = inherit(EventEmitter, {
var _this = this;
return this._beforeState(state)
.then(function() {
- return promiseUtils.seqMap(_this.config.browsers, function(browser) {
+ return q.all(_this.config.browsers.map(function(browser) {
return _this._runStateInBrowser(state, new Browser(_this.config, browser));
- });
+ }));
})
.then(this._afterState.bind(this, state));
},

0 comments on commit c53d076

Please sign in to comment.