test: check number of message events
When a no-op message event handler is used in a test, make it clear what
is expected by using common.mustCall()
and common.mustNotCall()
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test child_process