test: remove `inherits()` usage
This switches all util.inherits()
calls to use Object.setPrototypeOf()
instead in the test
dir.
Only the test-util-inherits
is preserve since util.inherits()
isn't removed entirely.
Refs: #24755 #24395 (closed)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines