node/test/js-native-api
Gabriel Schulhof b4365c161c
node-api: extend type-tagging to externals
Since externals behave as JavaScript objects on the JavaScript side,
allow them to be type-tagged.

Signed-off-by: Gabriel Schulhof <gabrielschulhof@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/47141
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2023-03-22 04:47:08 +00:00
..
2_function_arguments
3_callbacks
4_object_factory
5_function_factory
6_object_wrap node-api: generalize finalizer second pass callback 2022-12-20 01:44:42 +08:00
7_factory_wrap
8_passing_wrapped
test_array test: add trailing commas in `test/js-native-api` 2023-02-03 17:12:18 +01:00
test_bigint test: add trailing commas in `test/js-native-api` 2023-02-03 17:12:18 +01:00
test_constructor test: add trailing commas in `test/js-native-api` 2023-02-03 17:12:18 +01:00
test_conversions test: add trailing commas in `test/js-native-api` 2023-02-03 17:12:18 +01:00
test_dataview
test_date
test_error test: add trailing commas in `test/js-native-api` 2023-02-03 17:12:18 +01:00
test_exception test: add trailing commas in `test/js-native-api` 2023-02-03 17:12:18 +01:00
test_function test: add trailing commas in `test/js-native-api` 2023-02-03 17:12:18 +01:00
test_general test: add trailing commas in `test/js-native-api` 2023-02-03 17:12:18 +01:00
test_handle_scope
test_instance_data
test_new_target
test_number tools: enable ESLint no-loss-of-precision rule 2022-01-13 17:11:11 -08:00
test_object node-api: extend type-tagging to externals 2023-03-22 04:47:08 +00:00
test_promise
test_properties node-api: add node_api_symbol_for() 2022-01-24 16:35:07 -05:00
test_reference node-api: emit uncaught-exception on unhandled tsfn callbacks 2022-05-27 13:32:08 -04:00
test_reference_double_free node-api: fix immediate napi_remove_wrap test 2022-11-18 09:31:25 +00:00
test_string
test_symbol test: replace commented out expectations with tests 2022-01-29 10:01:10 +00:00
test_typedarray
.gitignore
common.c
common.h node-api,src: fix module registration in MSVC C++ 2022-04-07 09:40:07 -04:00
entry_point.c
testcfg.py