Skip to content

test: refactor test-child-process-send-type-error.js

  • Do not run tests in child process as their failure will not cause the test to fail. Only run the tests in the parent process where their failure means the test fails.
  • Use common.mustNotCall() to guarantee callback is not invoked.
  • Insert blank line per test writing guide.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test child_process

Merge request reports

Loading