diff --git a/test/common/index.js b/test/common/index.js index bbb74e2b988517..13604d06e14a36 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -789,7 +789,7 @@ module.exports = { get localhostIPv6() { return '::1'; }, get hasFipsCrypto() { - return hasCrypto && require('crypto').fips; + return hasCrypto && require('crypto').getFips(); }, get inFreeBSDJail() {