test: improve n-api array func coverage
- add coverage for napi_has_element
- add coverage for napi_create_array_with_length
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