summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-wrap-no-abort.js
blob: 9e75da501513fbe65c1c698e2d7734a692b4be8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Flags: --expose-internals
'use strict';

const common = require('../common');
if (!common.hasCrypto)
  common.skip('missing crypto');

const util = require('util');
const { internalBinding } = require('internal/test/binding');
const TLSWrap = internalBinding('tls_wrap').TLSWrap;

// This will abort if internal pointer is not set to nullptr.
util.inspect(new TLSWrap());