We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ff010 commit 6cb8b2fCopy full SHA for 6cb8b2f
test/parallel/test-stream-readable-to-web.js
@@ -1,11 +1,6 @@
1
'use strict';
2
-require('../common');
3
-
4
-// https://github.com/nodejs/node/pull/25147/files
5
-const hasCrypto = Boolean(process.versions.openssl);
6
-if (!hasCrypto) {
7
- process.exit(0);
8
-}
+const common = require('../common');
+if (!common.hasCrypto) { common.skip('missing crypto'); }
9
10
const { Readable } = require('stream');
11
const process = require('process');
0 commit comments