summaryrefslogtreecommitdiff
path: root/test/test-async.js
diff options
context:
space:
mode:
authorAydar Zartdinov <zartdinov@gmail.com>2015-07-09 20:15:01 +0300
committerAydar Zartdinov <zartdinov@gmail.com>2015-07-09 20:15:01 +0300
commit97f9825362a9f2d0f2e9ec9c113c38118b5d7d60 (patch)
treedd6c7ff7cf3d30aa553b8c31bf7e9f5aedadbdb4 /test/test-async.js
parent173e9133c064aaa22a699ba038754c5994783733 (diff)
downloadasync-97f9825362a9f2d0f2e9ec9c113c38118b5d7d60.tar.gz
node-only
Diffstat (limited to 'test/test-async.js')
-rwxr-xr-xtest/test-async.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-async.js b/test/test-async.js
index 844bce9..fdb949b 100755
--- a/test/test-async.js
+++ b/test/test-async.js
@@ -4275,6 +4275,10 @@ exports['asyncify'] = {
'es6-promise',
'rsvp'
].reduce(function(promises, name) {
+ if (isBrowser()) {
+ // node only test
+ return;
+ }
var Promise = require(name);
if (typeof Promise.Promise === 'function') {
Promise = Promise.Promise;