Skip to content

Commit

Permalink
Reduce wait times to speed up unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Nov 8, 2013
1 parent 6675273 commit f06a98d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@
setTimeout(function() {
ok(pass);
QUnit.start();
}, 256);
}, 128);
}
else {
skipTest();
Expand All @@ -1637,7 +1637,7 @@
setTimeout(function() {
deepEqual(args, [1, 2, 3]);
QUnit.start();
}, 256);
}, 128);
}
else {
skipTest();
Expand All @@ -1654,7 +1654,7 @@
asyncTest('should delay `func` execution', 2, function() {
if (!(isRhino && isModularize)) {
var pass = false;
_.delay(function(){ pass = true; }, 128);
_.delay(function(){ pass = true; }, 100);

setTimeout(function() {
ok(!pass);
Expand All @@ -1663,7 +1663,7 @@
setTimeout(function() {
ok(pass);
QUnit.start();
}, 512);
}, 256);
}
else {
skipTest(2);
Expand All @@ -1682,7 +1682,7 @@
setTimeout(function() {
deepEqual(args, [1, 2, 3]);
QUnit.start();
}, 512);
}, 128);
}
else {
skipTest();
Expand Down

0 comments on commit f06a98d

Please sign in to comment.