node/test/pseudo-tty
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
..
console-dumb-tty.js
console-dumb-tty.out
console_colors.js lib: add diagnostics_channel events to module loading 2024-06-21 11:05:40 +02:00
console_colors.out module: do not wrap module._load when tracing is not enabled 2026-04-27 18:03:23 +02:00
no_dropped_stdio.js
no_dropped_stdio.out
no_interleaved_stdio.js
no_interleaved_stdio.out
pseudo-tty.status
readline-dumb-tty.js
readline-dumb-tty.out
ref_keeps_node_running.js tools: add lint rule to ensure assertions are reached 2026-02-19 18:46:23 +01:00
ref_keeps_node_running.out
repl-dumb-tty.js
repl-dumb-tty.out
stdin-setrawmode.js
stdin-setrawmode.out
test-assert-colors.js tools: add lint rule to ensure assertions are reached 2026-02-19 18:46:23 +01:00
test-assert-colors.out
test-assert-no-color.js tools: add lint rule to ensure assertions are reached 2026-02-19 18:46:23 +01:00
test-assert-no-color.out
test-assert-position-indicator.js assert: make assertion_error use Myers diff algorithm 2024-11-27 11:03:37 -05:00
test-assert-position-indicator.out
test-async-wrap-getasyncid-tty.js
test-async-wrap-getasyncid-tty.out
test-fatal-error.js
test-fatal-error.out module: do not wrap module._load when tracing is not enabled 2026-04-27 18:03:23 +02:00
test-handle-wrap-hasref-tty.js tools: add lint rule to ensure assertions are reached 2026-02-19 18:46:23 +01:00
test-handle-wrap-hasref-tty.out
test-readable-tty-keepalive.js
test-readable-tty-keepalive.out
test-repl-external-module.js test: fix more tests that fail when path contains a space 2024-10-04 10:20:28 +02:00
test-repl-external-module.out
test-set-raw-mode-reset-process-exit.js
test-set-raw-mode-reset-process-exit.out
test-set-raw-mode-reset-signal.js
test-set-raw-mode-reset-signal.out
test-set-raw-mode-reset.js
test-set-raw-mode-reset.out
test-start-trace-sigint.js lib: add trace-sigint APIs 2025-08-26 11:22:42 +02:00
test-start-trace-sigint.out module: do not wrap module._load when tracing is not enabled 2026-04-27 18:03:23 +02:00
test-stderr-stdout-handle-sigwinch.js tools: add lint rule to ensure assertions are reached 2026-02-19 18:46:23 +01:00
test-stderr-stdout-handle-sigwinch.out
test-stdin-write.js
test-stdin-write.out
test-stdout-read.in
test-stdout-read.js
test-stdout-read.out
test-stop-trace-sigint.js lib: add trace-sigint APIs 2025-08-26 11:22:42 +02:00
test-stop-trace-sigint.out lib: add trace-sigint APIs 2025-08-26 11:22:42 +02:00
test-trace-sigint-disabled.js
test-trace-sigint-disabled.out
test-trace-sigint-on-idle.js
test-trace-sigint-on-idle.out
test-trace-sigint.js
test-trace-sigint.out module: do not wrap module._load when tracing is not enabled 2026-04-27 18:03:23 +02:00
test-tty-color-support-warning-2.js
test-tty-color-support-warning-2.out Revert "console: colorize console error and warn" 2024-10-04 19:20:15 +02:00
test-tty-color-support-warning.js
test-tty-color-support-warning.out Revert "console: colorize console error and warn" 2024-10-04 19:20:15 +02:00
test-tty-color-support.js tools: add lint rule to ensure assertions are reached 2026-02-19 18:46:23 +01:00
test-tty-color-support.out Revert "console: colorize console error and warn" 2024-10-04 19:20:15 +02:00
test-tty-isatty.js tools: add lint rule to ensure assertions are reached 2026-02-19 18:46:23 +01:00
test-tty-isatty.out
test-tty-stdin-call-end.js
test-tty-stdin-call-end.out
test-tty-stdin-end.js
test-tty-stdin-end.out
test-tty-stdout-end.js
test-tty-stdout-end.out
test-tty-stdout-resize.js tools: add lint rule to ensure assertions are reached 2026-02-19 18:46:23 +01:00
test-tty-stdout-resize.out
test-tty-stream-constructors.js
test-tty-stream-constructors.out
test-tty-window-size.js
test-tty-window-size.out
test-tty-wrap.js
test-tty-wrap.out
testcfg.py test: migrate a pseudo_tty test to use assertSnapshot 2023-05-04 08:34:23 +00:00