mirror of
https://github.com/nodejs/node.git
synced 2025-05-11 01:27:14 +00:00

Refs: https://github.com/nodejs/node/issues/22160 PR-URL: https://github.com/nodejs/node/pull/22329 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
11 lines
259 B
JavaScript
11 lines
259 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'));
|