We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bab9c4d commit 3beac87Copy full SHA for 3beac87
test/parallel/test-crypto-scrypt.js
@@ -1,4 +1,3 @@
1
-// Flags: --expose-internals --no-warnings
2
'use strict';
3
const common = require('../common');
4
if (!common.hasCrypto)
@@ -7,8 +6,7 @@ if (!common.hasCrypto)
7
6
const assert = require('assert');
8
const crypto = require('crypto');
9
10
-const { internalBinding } = require('internal/test/binding');
11
-if (typeof internalBinding('crypto').ScryptJob !== 'function')
+if (typeof crypto.scrypt !== 'function' || typeof crypto.scryptSync !== 'function')
12
common.skip('no scrypt support');
13
14
const good = [
0 commit comments