Skip to content

test: fix warnings in addon tests

The legacy MakeCallback deprecation was resulting in compile time warnings in adddon tests. Fix them.

Ref: https://github.com/nodejs/node/pull/18632

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

test

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

Merge request reports

Loading