mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 22:16:31 +00:00

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: https://github.com/nodejs/node/pull/31488 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
9 lines
244 B
C
9 lines
244 B
C
#ifndef TEST_JS_NATIVE_API_TEST_OBJECT_TEST_NULL_H_
|
|
#define TEST_JS_NATIVE_API_TEST_OBJECT_TEST_NULL_H_
|
|
|
|
#include <js_native_api.h>
|
|
|
|
void init_test_null(napi_env env, napi_value exports);
|
|
|
|
#endif // TEST_JS_NATIVE_API_TEST_OBJECT_TEST_NULL_H_
|