n-api: port test for make_callback
Improved test coverage for napi_make_callback by porting the existing addons/make_callback test to napi
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
n-api, test