Skip to content

test: improve readline/emitKeypressEvents.js coverage

Rodrigo Muino Tomonari requested to merge github/fork/y1d7ng/test-readline into master

The previous test case did not cover the case where the stream add keypress listener before emitKeypressEvents and listens first and then removes the keypress listener.

Refer: https://coverage.nodejs.org/coverage-68fb0bf553e2af3e/lib/internal/readline/emitKeypressEvents.js.html

Merge request reports

Loading