test: move hasCrypto check
The hasCrypto check should be checked before anything else to prevent overhead in case it's not falsy. Otherwise the file would be read without any further benefit. PR-URL: https://github.com/nodejs/node/pull/26858 Reviewed-By:James M Snell <jasnell@gmail.com> Reviewed-By:
Tobias Nießen <tniessen@tnie.de> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Signed-off-by:
Beth Griggs <Bethany.Griggs@uk.ibm.com>
parent
2ef1bd97
Please register or sign in to comment