summaryrefslogtreecommitdiff
path: root/test/parallel/test-internal-process-binding.js
blob: 09e3f3109682ac615e7db0f8a1f820d4a3e5e601 (plain)
1
2
3
4
5
6
7
8
9
10
'use strict';

require('../common');
const assert = require('assert');

assert.strictEqual(undefined, process._internalBinding);
assert.strictEqual(undefined, process.internalBinding);
assert.throws(() => {
  process.binding('module_wrap');
}, /No such module/);