test: add coverage for napi_typeof · nodejs/node@2a91d59 · GitHub
Skip to content

Commit 2a91d59

Browse files
mhdawsonaddaleax
authored andcommitted
test: add coverage for napi_typeof
We had some, but not complete coverage indirectly through other tests. Add test to validate it specifically and covers cases that were not being covered. PR-URL: #13990 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 21ee4b1 commit 2a91d59

2 files changed

Lines changed: 47 additions & 1 deletion

File tree

test/addons-napi/test_general/test.js

Lines changed: 16 additions & 0 deletions

test/addons-napi/test_general/test_general.c

Lines changed: 31 additions & 1 deletion

0 commit comments

Comments
 (0)