test: refactor test-stream-transform-object
- use common.mustCall() as appropriate
- eliminate exit handler
- var -> const/let
- provide duration for setInterval()
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test stream