Skip to content

test: improve test-stream-duplex-readable-end

  • Remove unneeded listener for the 'error' event.
  • Use common.mustCall().
  • Verify that the src stream gets paused.

Refs: https://github.com/nodejs/node/pull/35941

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading