Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`.
  • Loading branch information
Gabriel Schulhof committed Jan 24, 2020
commit 5f048fda8498b435ed49199e8808eb6a34b2f932
1 change: 1 addition & 0 deletions test/js-native-api/test_object/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"sources": [
"../common.c",
"../entry_point.c",
"test_null.c",
"test_object.c"
]
}
Expand Down
Loading