test: refactor test-child-process-send-type-error · nodejs/node@bd8574c · GitHub
Skip to content

Commit bd8574c

Browse files
TrottMylesBorins
authored andcommitted
test: refactor test-child-process-send-type-error
* Add exit listener to child process to check return code. Previously, child process faiilure would not cause the test to fail. * Use common.mustNotCall() to guarantee callback is not invoked. * Insert blank line per test writing guide. PR-URL: #13904 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 35f9111 commit bd8574c

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

Lines changed: 9 additions & 5 deletions

0 commit comments

Comments
 (0)