Files
node/lib
Dario Piotrowicz d6dade5bc5 test: add tests for REPL custom evals
this commit reintroduces the REPL custom eval tests that have
been introduced in https://github.com/nodejs/node/pull/57691
but reverted in https://github.com/nodejs/node/pull/57793

the tests turned out problematic before because `getReplOutput`,
the function used to return the repl output wasn't taking into
account that input processing and output emitting are asynchronous
operation can resolve with a small delay

the new implementation here replaces `getReplOutput` with
`getReplRunOutput` that resolves repl inputs by running them
and using the repl prompt as an indicator to when the input
processing has completed

PR-URL: https://github.com/nodejs/node/pull/57850
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2025-06-15 16:36:13 +00:00
..
…
…
2025-06-14 14:06:04 -07:00
…
…
2024-09-24 19:48:15 +00:00
2025-05-09 19:41:31 +00:00
2025-03-04 08:33:21 -08:00
2025-05-31 02:59:40 +00:00
2024-01-12 16:09:48 +00:00
2024-07-08 15:55:43 +00:00
2024-10-09 06:42:16 +00:00
2024-10-09 06:42:16 +00:00
2025-06-15 16:36:13 +00:00
2024-02-02 15:25:34 +01:00
2025-01-04 18:30:04 +00:00
2025-06-14 14:06:04 -07:00
2025-05-25 18:13:34 -07:00
2025-03-04 11:14:34 +00:00
…