Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no need for setTimeout in tests slowing it down dramatically.

  • Loading branch information...
commit e9a44f8fa1cbee7d98f8cfd11cdceab3776de9a7 1 parent 0cb7cf2
@dambalah dambalah authored
Showing with 2 additions and 7 deletions.
  1. +2 −7 tests/nested_set_test.js
View
9 tests/nested_set_test.js
@@ -1,4 +1,4 @@
-/*globals require, module, console, setTimeout */
+/*globals require, module, console */
'use strict';
@@ -59,12 +59,7 @@ var tests = testCase({
stanley,
dwight,
oscar
- ], function(item, cb) { item.save(cb); }, function(err) {
- setTimeout(callback, 500);
- });
- },
- function(callback) {
- next();
+ ], function(item, cb) { item.save(cb); }, next);
}
]);
},
Please sign in to comment.
Something went wrong with that request. Please try again.