summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-withflag.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http2-withflag.js')
-rw-r--r--test/parallel/test-http2-withflag.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-http2-withflag.js b/test/parallel/test-http2-withflag.js
index 557ec40e64..069212257c 100644
--- a/test/parallel/test-http2-withflag.js
+++ b/test/parallel/test-http2-withflag.js
@@ -1,7 +1,9 @@
// Flags: --expose-http2
'use strict';
-require('../common');
+const common = require('../common');
+if (!common.hasCrypto)
+ common.skip('missing crypto');
const assert = require('assert');
assert.doesNotThrow(() => require('http2'));