node/test/node-api
Gabriel Schulhof c5aa8b8ef1
node-api: define version 10
Notable runtime changes to existing APIs:
- returning `node_api_cannot_run_js` instead of
  `napi_pending_exception`.
- allow creating references to objects, functions, and symbols.

PR-URL: https://github.com/nodejs/node/pull/55676
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2024-12-31 16:29:50 +00:00
..
1_hello_world test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_async test: fix assertion message in test_async.c 2023-08-15 11:55:34 +00:00
test_async_cleanup_hook node-api: verify cleanup hooks order 2023-03-15 00:57:25 +08:00
test_async_context test: add trailing commas in `test/node-api` 2023-01-29 20:01:09 +01:00
test_buffer node-api: define version 10 2024-12-31 16:29:50 +00:00
test_callback_scope test: add trailing commas in `test/node-api` 2023-01-29 20:01:09 +01:00
test_cleanup_hook node-api: verify cleanup hooks order 2023-03-15 00:57:25 +08:00
test_env_teardown_gc node-api: stop ref gc during environment teardown 2021-03-18 20:40:59 -07:00
test_exception test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_fatal src: print more information in C++ assertions 2023-11-01 16:20:18 +00:00
test_fatal_exception test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_general test: use `tmpdir.resolve()` 2023-08-21 16:41:53 +00:00
test_init_order test: fix typos 2024-09-28 13:58:55 +00:00
test_instance_data test: fix addons and node-api test assumptions 2024-10-22 07:49:19 +00:00
test_make_callback test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_make_callback_recurse test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_null_init node-api: deprecate napi_module_register 2023-03-24 14:00:40 -04:00
test_reference_by_node_api_version node-api: define version 10 2024-12-31 16:29:50 +00:00
test_threadsafe_function node-api: make tsfn accept napi_finalize once more 2024-03-09 05:58:42 +00:00
test_uv_loop test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_uv_threadpool_size test: fix addons and node-api test assumptions 2024-10-22 07:49:19 +00:00
test_worker_buffer_callback src: throw DataCloneError on transfering untransferable objects 2023-05-05 11:22:42 +00:00
test_worker_terminate process,worker: ensure code after exit() effectless 2022-12-25 09:54:12 +00:00
test_worker_terminate_finalization test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
.gitignore
node-api.status test: mark flaky tests on smartos 2022-06-28 18:06:48 +01:00
testcfg.py