node/test/node-api
Chengzhong Wu 77597d3aea
node-api: enable uncaught exceptions policy by default
This enables the option `--force-node-api-uncaught-exceptions-policy`
for a specific Node-API addon when it is compiled with
`NAPI_EXPERIMENTAL` (and this would be the default behavior when
`NAPI_VERSION` 10 releases). This would not break existing Node-API
addons.

PR-URL: https://github.com/nodejs/node/pull/49313
Refs: https://github.com/nodejs/node/pull/36510
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
2023-09-25 04:23:58 +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: enable uncaught exceptions policy by default 2023-09-25 04:23:58 +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 test: enable no-empty ESLint rule 2022-02-05 12:58:32 +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 node-api,src: fix module registration in MSVC C++ 2022-04-07 09:40:07 -04:00
test_instance_data test: rename n-api to node-api 2021-02-06 05:03:38 -08: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_policy test,benchmark: use tmpdir.fileURL() 2023-08-21 16:42:03 +00:00
test_reference_by_node_api_version node-api: implement external strings 2023-06-13 21:54:03 -07:00
test_threadsafe_function node-api: enable uncaught exceptions policy by default 2023-09-25 04:23:58 +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: add test for effect of UV_THREADPOOL_SIZE 2023-08-16 13:49:44 +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 test: add .gitignore file for node-api 2018-12-04 20:48:33 -08:00
node-api.status test: mark flaky tests on smartos 2022-06-28 18:06:48 +01:00
testcfg.py