Skip to content

test: fix ineffective error tests

Fix tests whether errors are thrown correctly because they are successful when error doesn't get thrown.

fix https://github.com/nodejs/node/issues/26385

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading