From 453fd9033124051b37fc6a2f54b29556ea7d545e Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Mon, 20 Jan 2025 20:55:42 -0800 Subject: [PATCH] test: test-crypto-scrypt.js doesn't need internals --- test/parallel/test-crypto-scrypt.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/parallel/test-crypto-scrypt.js b/test/parallel/test-crypto-scrypt.js index 76f933f4df3a6c..eafdfe392bde8e 100644 --- a/test/parallel/test-crypto-scrypt.js +++ b/test/parallel/test-crypto-scrypt.js @@ -1,4 +1,3 @@ -// Flags: --expose-internals --no-warnings 'use strict'; const common = require('../common'); if (!common.hasCrypto) @@ -7,8 +6,7 @@ if (!common.hasCrypto) const assert = require('assert'); const crypto = require('crypto'); -const { internalBinding } = require('internal/test/binding'); -if (typeof internalBinding('crypto').ScryptJob !== 'function') +if (typeof crypto.scrypt !== 'function' || typeof crypto.scryptSync !== 'function') common.skip('no scrypt support'); const good = [