node/test/js-native-api
Ruben Bridgewater f0f26cedcc
n-api: remove code from error name
This is a first step to align the n-api errors towards errors created
in JS. The stack still has to be updated to add the error code.

PR-URL: https://github.com/nodejs/node/pull/26738
Fixes: https://github.com/nodejs/node/issues/26669
Fixes: https://github.com/nodejs/node/issues/20253
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2019-03-23 02:55:57 +01:00
..
2_function_arguments test: partition N-API tests 2018-12-04 13:58:17 -08:00
3_callbacks test: partition N-API tests 2018-12-04 13:58:17 -08:00
4_object_factory test: partition N-API tests 2018-12-04 13:58:17 -08:00
5_function_factory test: partition N-API tests 2018-12-04 13:58:17 -08:00
6_object_wrap test: partition N-API tests 2018-12-04 13:58:17 -08:00
7_factory_wrap test: partition N-API tests 2018-12-04 13:58:17 -08:00
8_passing_wrapped test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_array benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test_bigint test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_constructor doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test_conversions test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_dataview test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_date n-api: implement date object 2019-02-28 17:43:37 -05:00
test_error n-api: remove code from error name 2019-03-23 02:55:57 +01:00
test_exception test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_function benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test_general benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test_handle_scope benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test_new_target test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_number tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test_object test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_promise test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_properties benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test_reference test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_string test: fix compiler warning in test_string.c 2019-03-12 06:12:07 +01:00
test_symbol test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_typedarray benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
.gitignore test: partition N-API tests 2018-12-04 13:58:17 -08:00
common.h test: partition N-API tests 2018-12-04 13:58:17 -08:00
entry_point.c test: partition N-API tests 2018-12-04 13:58:17 -08:00
testcfg.py test: partition N-API tests 2018-12-04 13:58:17 -08:00