stream, test: add test for _readableState.needReadable
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
stream, test
Description of change
Part of #10230 (closed) & #8644 (closed), increase coverage of the internal state machine of streams.