node/test/js-native-api
Voltrex 8f78c6646e
test: call functions internally
All (or at least most) of the tests uses lambdas (or arrow functions
if you will) to call these functions internally inside of directly
calling them, this should also use this technique for consistency.

PR-URL: https://github.com/nodejs/node/pull/38560
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
2021-05-17 09:11:33 +02:00
..
2_function_arguments test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
3_callbacks test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
4_object_factory test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
5_function_factory test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
6_object_wrap test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
7_factory_wrap test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
8_passing_wrapped test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_array test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test_bigint test: call functions internally 2021-05-17 09:11:33 +02:00
test_constructor test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_conversions test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_dataview test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_date test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_error test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_exception test: remove unneeded m flag on regular expressions 2021-04-09 06:35:51 -07:00
test_function test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_general test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test_handle_scope test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_instance_data test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_new_target test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_number test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_object test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test_promise test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_properties test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_reference test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_reference_double_free node-api: force env shutdown deferring behavior 2021-02-18 20:31:03 -08:00
test_string test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_symbol test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_typedarray test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
.gitignore
common.c test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
common.h test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
entry_point.c
testcfg.py