test: refactor test-stream-pipe-after-end
- replace
process.on('exit', ...)
checks withcommon.mustCall()
- assert.equal() -> assert.strictEqual()
- provide duration of 1ms to timer without a duration
- remove unused function argument
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test stream