Filip Skokan
45fef372fc
test: deflake debugger function name extraction
...
Evaluating expressions against the running target can trigger a V8
scope assertion. Keep the target paused and wait for the initial break
before checking the function formatting. Await debugger teardown.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
Assisted-by: Codex
PR-URL: https://github.com/nodejs/node/pull/66231
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-09-26 07:57:16 +00:00
Matteo Collina
219dbd6c71
test: unflake debugger and REPL tests
...
Run the debugger function-formatting checks against an auto-resumed,
long-lived target so they do not depend on initial-break rendering.
Use a synchronous VM evaluator for the REPL handleError test. Submit the
throwing input separately and wait for clean REPL teardown.
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/64718
Refs: https://github.com/nodejs/node/actions/runs/30080039199/job/89439279468?pr=64339
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-08-03 12:49:21 +00:00
Antoine du Hamel
0457bfee2c
test: forbid use of named imports for fixtures
...
PR-URL: https://github.com/nodejs/node/pull/61228
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-01-01 23:48:26 +00:00
Dario Piotrowicz
29626f8fb8
test: update startCLI to set --port=0 by default
...
update the `startCLI` debugging testing utility to set by default
the port to use to `0` (i.e. a random port)
PR-URL: https://github.com/nodejs/node/pull/59042
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-07-20 17:37:28 +00:00
Dario Piotrowicz
0992d28011
test: add missing port=0 arg in test-debugger-extract-function-name
...
PR-URL: https://github.com/nodejs/node/pull/58977
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-07-08 23:18:27 +00:00
Meek Simbule
94020ac387
test: refactor to top-level await
...
PR-URL: https://github.com/nodejs/node/pull/43366
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-06-19 11:04:48 +01:00