Permalink
Browse files

Alright parallel execution is hard

  • Loading branch information...
1 parent b27ecac commit ca68560bac16b30c26f32aaee33439159fd95ad7 @5long committed Jul 11, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/runner.js
  2. +1 −1 src/test_suite.js
View
@@ -24,7 +24,7 @@ var runner = module.exports = {
, run: function(opt, cb) {
if (arguments.length < 2) cb = opt
var reporters = opt && opt.reporters || defaultReporters
- async.paraMap(suites, function(suite) {
+ async.map(suites, function(suite) {
reporters.forEach(function(r) {
suite.reportTo(r)
})
View
@@ -77,7 +77,7 @@ function boundAsyncQueue(key) {
, keyAdd = "add" + ucFirst
this[keyExecute] = function(fixture, cb) {
- async.paraMap(this[keyQueue], function(fn) {
+ async.map(this[keyQueue], function(fn) {
fn(fixture, this)
}, cb)
}

0 comments on commit ca68560

Please sign in to comment.