Skip to content

assert: fix .throws operator

assert.throws and assert.doesNotThrow set the operator to a internal function. That was actually not intended as the operator is not defined at all in those cases.

CI https://ci.nodejs.org/job/node-test-pull-request/12003/

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

assert

Merge request reports

Loading