test: remove usage of `process.binding()`
This paves the way for adding --pending-deprecation
support for process.binding()
, see e.g. addaleax/node@8e6577d1c196894a96fe2ce4062eb39ce36df219 (which could land after this, but would likely be semver-major).
Prefer internalBinding
or other equivalents over process.binding()
(except in tests checking process.binding()
itself).
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines