node/test/fixtures/errors
Joyee Cheung 9a2e21305d
module: do not wrap module._load when tracing is not enabled
This prevents clobbering the stack traces with another internal
frame and removes the unnecessary hoops from step-debugging.

PR-URL: https://github.com/nodejs/node/pull/61479
Backport-PR-URL: https://github.com/nodejs/node/pull/62029
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Fixes: https://github.com/nodejs/node/issues/61801
2026-04-27 18:03:23 +02:00
..
async_error_eval_cjs.js
async_error_eval_cjs.snapshot
async_error_eval_esm.js
async_error_eval_esm.snapshot
async_error_microtask_main.js
async_error_microtask_main.snapshot
async_error_nexttick_main.js
async_error_nexttick_main.snapshot lib: remove redundant destroyHook checks 2026-02-17 19:12:19 +01:00
async_error_sync_esm.mjs
async_error_sync_esm.snapshot
async_error_sync_main.js
async_error_sync_main.snapshot
core_line_numbers.js
core_line_numbers.snapshot punycode: limit deprecation warning 2025-02-06 01:10:36 +01:00
error_aggregateTwoErrors.js
error_aggregateTwoErrors.snapshot
error_exit.js
error_exit.snapshot lib: restructure assert to become a class 2025-08-26 11:22:39 +02:00
error_with_nul.js
error_with_nul.snapshot
events_unhandled_error_common_trace.js
events_unhandled_error_common_trace.snapshot
events_unhandled_error_nexttick.js
events_unhandled_error_nexttick.snapshot
events_unhandled_error_sameline.js
events_unhandled_error_sameline.snapshot
events_unhandled_error_subclass.js
events_unhandled_error_subclass.snapshot
force_colors.js tools: enable linter in test/fixtures/errors 2025-05-19 12:13:50 +02:00
force_colors.snapshot module: do not wrap module._load when tracing is not enabled 2026-04-27 18:03:23 +02:00
if-error-has-good-stack.js
if-error-has-good-stack.snapshot lib: restructure assert to become a class 2025-08-26 11:22:39 +02:00
promise_always_throw_unhandled.js
promise_always_throw_unhandled.snapshot
promise_unhandled_warn_with_error.js
promise_unhandled_warn_with_error.snapshot module: do not wrap module._load when tracing is not enabled 2026-04-27 18:03:23 +02:00
test-no-extra-info-on-fatal-exception.js
test-no-extra-info-on-fatal-exception.snapshot
throw_custom_error.js
throw_custom_error.snapshot
throw_error_with_getter_throw.js
throw_error_with_getter_throw.snapshot test: make snapshot comparison more flexible 2024-08-21 17:49:21 -03:00
throw_in_eval_anonymous.js tools: enable linter in test/fixtures/errors 2025-05-19 12:13:50 +02:00
throw_in_eval_anonymous.snapshot src: fix undefined script name in error source 2025-02-03 20:09:57 +01:00
throw_in_eval_named.js tools: enable linter in test/fixtures/errors 2025-05-19 12:13:50 +02:00
throw_in_eval_named.snapshot src: fix undefined script name in error source 2025-02-03 20:09:57 +01:00
throw_in_line_with_tabs.js tools: enable linter in test/fixtures/errors 2025-05-19 12:13:50 +02:00
throw_in_line_with_tabs.snapshot
throw_non_error.js
throw_non_error.snapshot
throw_null.js
throw_null.snapshot test: make snapshot comparison more flexible 2024-08-21 17:49:21 -03:00
throw_undefined.js
throw_undefined.snapshot test: make snapshot comparison more flexible 2024-08-21 17:49:21 -03:00
timeout_throw.js
timeout_throw.snapshot
undefined_reference_in_new_context.js
undefined_reference_in_new_context.snapshot
unhandled_promise_trace_warnings.js
unhandled_promise_trace_warnings.snapshot module: do not wrap module._load when tracing is not enabled 2026-04-27 18:03:23 +02:00