Commit c4a2f94
test: cover property n-api null cases
Add test coverage for passing `NULL` to each parameter of
`napi.*(propert|element)` and `napi_set_prototype`. In the case of
`napi_define_properties` also test setting various initializer fields
to `NULL`.
PR-URL: #31488
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: Rich Trott <[email protected]>1 parent 8f25e51 commit c4a2f94
File tree
5 files changed
+465
-0
lines changed- test/js-native-api/test_object
5 files changed
+465
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments