node/test/js-native-api
Antoine du Hamel 4f871ee897
test: enforce better never-settling-promise detection
Tests should be explicit regarding whether a promise is expected to
settle, and the test should fail when the behavior does not meet
expectations.

PR-URL: https://github.com/nodejs/node/pull/60976
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
2026-02-22 23:16:09 +01:00
..
2_function_arguments
3_callbacks test: ensure assertions are reachable in more folders 2025-11-13 22:44:13 +01:00
4_object_factory
5_function_factory
6_object_wrap node-api: add nested object wrap and napi_ref test 2025-05-02 17:06:46 -03:00
7_factory_wrap test: merge ongc and gcutil into gc.js 2024-08-29 08:49:52 +01:00
8_passing_wrapped test: merge ongc and gcutil into gc.js 2024-08-29 08:49:52 +01:00
test_array
test_bigint
test_cannot_run_js node-api: define version 10 2024-12-31 16:29:50 +00:00
test_constructor node-api: use Node-API in comments 2026-01-27 22:52:26 +01:00
test_conversions
test_dataview node-api: support SharedArrayBuffer in napi_create_dataview 2026-01-19 19:19:03 +01:00
test_date node-api: use Node-API in comments 2026-01-27 22:52:26 +01:00
test_error
test_exception
test_finalizer test: merge ongc and gcutil into gc.js 2024-08-29 08:49:52 +01:00
test_function test: fix typos 2024-09-28 13:58:55 +00:00
test_general node-api: add napi_set_prototype 2026-01-19 19:19:32 +01:00
test_handle_scope
test_instance_data
test_new_target
test_number
test_object node-api: fix node_api_create_object_with_properties name 2026-01-28 16:29:45 +01:00
test_promise test: enforce better never-settling-promise detection 2026-02-22 23:16:09 +01:00
test_properties
test_reference test: fix typos 2024-09-28 13:58:55 +00:00
test_reference_double_free
test_sharedarraybuffer node-api: added SharedArrayBuffer api 2025-09-24 09:03:37 +02:00
test_string node-api: use Node-API in comments 2026-01-27 22:52:26 +01:00
test_symbol
test_typedarray node-api: add support for Float16Array 2026-01-19 19:19:08 +01:00
.gitignore
common-inl.h
common.h node-api: rename nogc to basic 2024-07-26 09:25:02 -07:00
entry_point.h
testcfg.py