Skip to content

Commit

Permalink
Don't wait 50 ms between tests
Browse files Browse the repository at this point in the history
There are now enough tests to make this take a serious amount of time.

A 0 timeout seems to work just as well.
  • Loading branch information
marijnh committed Sep 7, 2012
1 parent b306f7c commit dcc976c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function runTests(callback) {
else callback("error", test.name, e.toString());
}
if (!quit) { // Run next test
setTimeout(function(){step(i + 1);}, 50);
setTimeout(function(){step(i + 1);}, 0);
} else { // Quit tests
running = false;
return null;
Expand Down

0 comments on commit dcc976c

Please sign in to comment.