mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 16:22:29 +00:00

* Make common.skip() exit. Also add common.printSkipMessage() for partial skips. * Don't make needless things before skip PR-URL: https://github.com/nodejs/node/pull/14021 Fixes: https://github.com/nodejs/node/issues/14016 Reviewed-By: Refael Ackermann <refack@gmail.com>
12 lines
284 B
JavaScript
12 lines
284 B
JavaScript
'use strict';
|
|
|
|
const common = require('../common');
|
|
if (!common.hasCrypto)
|
|
common.skip('missing crypto');
|
|
|
|
const util = require('util');
|
|
const TLSWrap = process.binding('tls_wrap').TLSWrap;
|
|
|
|
// This will abort if internal pointer is not set to nullptr.
|
|
util.inspect(new TLSWrap());
|