node/test/node-api
Joyee Cheung cabd58f1cb
test: use fixture directories for sea tests
Instead of copying and writing files on the fly for SEA tests,
put the fixtures into a directory and copy them into tmpdir
for testing. This allows easier reproduction and debugging
when they do fail - we can just copy the entire fixture directory
and test directly from there.

PR-URL: https://github.com/nodejs/node/pull/61167
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2026-01-25 00:07:48 +01: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 node-api: use Node-API in comments 2026-01-20 14:36:00 +01: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 node-api: use Node-API in comments 2026-01-20 14:36:00 +01:00
test_fatal_exception
test_general
test_init_order
test_instance_data test: enforce better never-settling-promise detection 2026-01-20 14:26:59 +01: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 test: use fixture directories for sea tests 2026-01-25 00:07:48 +01:00
test_threadsafe_function node-api: use Node-API in comments 2026-01-20 14:36:00 +01:00
test_threadsafe_function_shutdown node-api: fix data race and use-after-free in napi_threadsafe_function 2026-01-13 10:04:34 -03: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 node-api: use Node-API in comments 2026-01-20 14:36:00 +01:00
test_worker_terminate node-api: use Node-API in comments 2026-01-20 14:36:00 +01:00
test_worker_terminate_finalization
.gitignore
node-api.status test: aix: mark test_threadsafe_function/test flaky on AIX 2026-01-25 00:07:48 +01:00
testcfg.py