test: exercise once() with varying arguments · nodejs/node@a37165a · GitHub
Skip to content

Commit a37165a

Browse files
cjihrigMylesBorins
authored andcommitted
test: exercise once() with varying arguments
This commit regains test coverage for EventEmitter#once() with four or more arguments. To avoid similar regressions in the future, once() is called with enough arguments to cover all of the separate code paths. PR-URL: #13524 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 79592fe commit a37165a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

test/parallel/test-event-emitter-once.js

Lines changed: 20 additions & 0 deletions

0 commit comments

Comments
 (0)