summaryrefslogtreecommitdiff
path: root/test/parallel/test-async-wrap-uncaughtexception.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-async-wrap-uncaughtexception.js')
-rw-r--r--test/parallel/test-async-wrap-uncaughtexception.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/parallel/test-async-wrap-uncaughtexception.js b/test/parallel/test-async-wrap-uncaughtexception.js
index 099bdb70dd..c6ff06397e 100644
--- a/test/parallel/test-async-wrap-uncaughtexception.js
+++ b/test/parallel/test-async-wrap-uncaughtexception.js
@@ -1,6 +1,10 @@
'use strict';
const common = require('../common');
+if (!common.hasCrypto) {
+ common.skip('missing crypto');
+ return;
+}
const assert = require('assert');
const async_hooks = require('async_hooks');
const call_log = [0, 0, 0, 0]; // [before, callback, exception, after];