adding test for _stream_writable.js needDrain state
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
- test
Description of change
- Adding tests for stream._writableState.needDrain
Issue related: #8686 (closed)