0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/addons-napi
Pratik Jain 7849b52810
test: changed error message validator
Replaced TypeError with RegEx to match the exact error message in file
test/addons-napi/test_properties/test.js. The RegEx will check the
validity of the error being thrown.

PR-URL: https://github.com/nodejs/node/pull/14443
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2017-07-26 20:22:47 +02:00
..
1_hello_world n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
2_function_arguments n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
3_callbacks n-api: napi_get_cb_info should fill array 2017-05-09 15:12:15 -04:00
4_object_factory n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
5_function_factory n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
6_object_wrap n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
7_factory_wrap n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
8_passing_wrapped n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_array n-api: add napi_delete_element() 2017-06-30 17:08:51 -04:00
test_async n-api: add code parameter to error helpers 2017-07-13 15:05:19 -04:00
test_buffer n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_constructor test: increase n-api constructor coverage 2017-05-23 21:05:30 +02:00
test_conversions n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_error n-api: add code parameter to error helpers 2017-07-13 15:05:19 -04:00
test_exception test: add common.mustCall() to NAPI exception test 2017-05-13 16:49:24 -07:00
test_fatal n-api: add napi_fatal_error API 2017-07-13 18:48:27 -04:00
test_function n-api: napi_get_cb_info should fill array 2017-05-09 15:12:15 -04:00
test_general test: handle missing V8 tests in n-api test 2017-07-13 11:51:43 -04:00
test_handle_scope n-api: avoid crash in napi_escape_scope() 2017-06-21 16:57:39 -04:00
test_make_callback test: port test for make_callback to n-api 2017-05-06 12:24:43 -04:00
test_make_callback_recurse lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
test_number test: test doc'd napi_get_value_int32 behaviour 2017-04-26 16:00:16 -04:00
test_object lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
test_properties test: changed error message validator 2017-07-26 20:22:47 +02:00
test_reference test: replace string concat with template literal 2017-07-16 06:33:09 -07:00
test_string n-api: remove napi_get_value_string_length() 2017-04-20 13:27:17 -04:00
test_symbol n-api: change napi_callback to return napi_value 2017-04-10 23:30:03 +02:00
test_typedarray n-api: add code parameter to error helpers 2017-07-13 15:05:19 -04:00
.gitignore n-api: add support for abi stable module API 2017-04-03 10:31:25 +02:00
common.h n-api: add code parameter to error helpers 2017-07-13 15:05:19 -04:00
testcfg.py n-api: add support for abi stable module API 2017-04-03 10:31:25 +02:00