test: fix issues in inspector-helper
Fixes linting issues introduced in https://github.com/nodejs/node/pull/18194
This needs to be fast-tracked.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test