test: add coverage for napi_has_named_property
Add test to cover napi_has_named_property
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows [commit guidelines](
Affected core subsystem(s)
test, n-api