summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlex Early <alexander.early@gmail.com>2016-03-08 15:14:44 -0800
committerAlex Early <alexander.early@gmail.com>2016-03-08 15:14:44 -0800
commitf6a19cec4dae3afd3dfb53d07baabd88ce282b5c (patch)
tree8a08bdd1d4f0c50baecd902220b477b3b999200b /test
parentf51042c5510b4977a24a022a0bce729ffdc8d452 (diff)
parent1ebbcd722605476c3b9c9476a231baa76ed8c45f (diff)
downloadasync-f6a19cec4dae3afd3dfb53d07baabd88ce282b5c.tar.gz
Merge pull request #1053 from caolan/setimmediate-args
Pass extra args to setImmediate/nextTick.
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-async.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/test-async.js b/test/test-async.js
index 85e9f0e..5643418 100755
--- a/test/test-async.js
+++ b/test/test-async.js
@@ -1894,33 +1894,6 @@ console_fn_tests('dir');
console_fn_tests('warn');
console_fn_tests('error');*/
-exports['nextTick'] = function(test){
- test.expect(1);
- var call_order = [];
- async.nextTick(function(){call_order.push('two');});
- call_order.push('one');
- setTimeout(function(){
- test.same(call_order, ['one','two']);
- test.done();
- }, 50);
-};
-
-exports['nextTick in the browser'] = function(test){
- if (!isBrowser()) {
- // skip this test in node
- return test.done();
- }
- test.expect(1);
-
- var call_order = [];
- async.nextTick(function(){call_order.push('two');});
-
- call_order.push('one');
- setTimeout(function(){
- test.same(call_order, ['one','two']);
- }, 50);
- setTimeout(test.done, 100);
-};
exports['concat'] = function(test){
test.expect(3);