node/test/node-api
Antoine du Hamel e50cbc1abd
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>
2025-12-10 23:55:36 +00:00
..
1_hello_world
test_async
test_async_cleanup_hook
test_async_context tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test_buffer node-api: define version 10 2024-12-31 16:29:50 +00:00
test_callback_scope test: ensure assertions are reached on more tests 2025-11-11 09:56:18 +00:00
test_cleanup_hook
test_env_teardown_gc
test_exception tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test_fatal
test_fatal_exception
test_general
test_init_order test: fix typos 2024-09-28 13:58:55 +00:00
test_instance_data test: enforce better never-settling-promise detection 2025-12-10 23:55:36 +00:00
test_make_callback tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test_make_callback_recurse tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test_null_init
test_reference_by_node_api_version tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test_sea_addon doc,test: add documentation and test on how to use addons in SEA 2025-11-17 04:41:11 +00:00
test_threadsafe_function tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test_threadsafe_function_shutdown node-api: fix data race and use-after-free in napi_threadsafe_function 2025-11-27 11:30:06 +00:00
test_uv_loop
test_uv_threadpool_size test: remove unnecessary assert requiring from tests 2025-02-14 17:19:20 +00:00
test_worker_buffer_callback
test_worker_terminate
test_worker_terminate_finalization
.gitignore
node-api.status doc,test: add documentation and test on how to use addons in SEA 2025-11-17 04:41:11 +00:00
testcfg.py