summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-connect.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http2-connect.js')
-rw-r--r--test/parallel/test-http2-connect.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-http2-connect.js b/test/parallel/test-http2-connect.js
index 305ea034c9..087f942932 100644
--- a/test/parallel/test-http2-connect.js
+++ b/test/parallel/test-http2-connect.js
@@ -1,7 +1,9 @@
// Flags: --expose-http2
'use strict';
-const { mustCall } = require('../common');
+const { mustCall, hasCrypto, skip } = require('../common');
+if (!hasCrypto)
+ skip('missing crypto');
const { doesNotThrow } = require('assert');
const { createServer, connect } = require('http2');