[Pkg-javascript-commits] [node-async] 67/480: skip nextTick in the browser unit test in node
Jonas Smedegaard
js at moszumanska.debian.org
Fri May 2 08:58:13 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-async.
commit d57f45c837d0fb348c84a0dd1ea2ebb2143ae017
Author: Caolan McMahon <caolan at caolanmcmahon.com>
Date: Sun Dec 19 16:29:17 2010 +0000
skip nextTick in the browser unit test in node
---
test/test-async.js | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/test/test-async.js b/test/test-async.js
index 60b1d81..a4d4f0b 100644
--- a/test/test-async.js
+++ b/test/test-async.js
@@ -915,12 +915,11 @@ exports['nextTick in node'] = function(test){
};
exports['nextTick in the browser'] = function(test){
- test.expect(1);
-
if (typeof process !== 'undefined') {
- var _nextTick = process.nextTick;
- process.nextTick = undefined;
+ // skip this test in node
+ return test.done();
}
+ test.expect(1);
var call_order = [];
async.nextTick(function(){call_order.push('two');});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git
More information about the Pkg-javascript-commits
mailing list