mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
PR-URL: https://github.com/nodejs/node/pull/22290 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
14 lines
370 B
JavaScript
14 lines
370 B
JavaScript
// Flags: --no-warnings
|
|
'use strict';
|
|
|
|
require('../common');
|
|
const assert = require('assert');
|
|
|
|
// Assert that whitelisted internalBinding modules are accessible via
|
|
// process.binding().
|
|
assert(process.binding('uv'));
|
|
assert(process.binding('http_parser'));
|
|
assert(process.binding('v8'));
|
|
assert(process.binding('stream_wrap'));
|
|
assert(process.binding('signal_wrap'));
|