Skip to content

test: make module test pass with NODE_PENDING_DEPRECATION

Some people set the NODE_PENDING_DEPRECATION environment variable globally. This makes the test added in 115f0f5a pass when that is the case.

Refs: https://github.com/nodejs/node/pull/26823

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading