test: add hasCrypto to worker-cleanexit-with-moduleload
Currently, this test fails when configured --without-ssl:
=== release test-worker-cleanexit-with-moduleload ===
Path: parallel/test-worker-cleanexit-with-moduleload
events.js:173
throw er; // Unhandled 'error' event
^
internal/util.js:101
throw new ERR_NO_CRYPTO();
^
Error [ERR_NO_CRYPTO]:
Node.js is not compiled with OpenSSL crypto support
This commit as a check for crypto so that this test is skipped if there
is no crypto support.
PR-URL: https://github.com/nodejs/node/pull/25811
Reviewed-By:
Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
Reviewed-By:
Richard Lau <riclau@uk.ibm.com>
Reviewed-By:
Luigi Pinca <luigipinca@gmail.com>
parent
46af4c1d
Please register or sign in to comment