node/test/js-native-api/test_constructor
Octavian Soldea 3da44b0b52 test: propagate napi_status to JS
Re: https://github.com/nodejs/node/pull/27945#discussion_r288833979

This commit regards reporting to the JS level an actual event
that happens when using suspected improper null arguments. It is better
to report the exact reason from N-API to the JS level.

PR-URL: https://github.com/nodejs/node/pull/28505
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-07-18 13:27:06 -07:00
..
binding.gyp test: partition N-API tests 2018-12-04 13:58:17 -08:00
test2.js test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_constructor.c test: propagate napi_status to JS 2019-07-18 13:27:06 -07:00
test.js test: propagate napi_status to JS 2019-07-18 13:27:06 -07:00