Files
node/lib
Colin Ihrig 1ef3c53e24 test_runner: better handle async bootstrap errors
The test runner is bootstrapped synchronously, with the exception
of importing custom reporters. To better handle asynchronously
throw errors, this commit introduces an internal error type that
can be checked for from the test runner's uncaughtException
handler.

After https://github.com/nodejs/node/pull/46707 and this change
land, the other throw statement in the uncaughtException handler
can be removed. This will allow the test runner to handle errors
thrown from outside of tests (which currently prevents the test
runner from reporting results).

PR-URL: https://github.com/nodejs/node/pull/46720
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2023-03-04 23:03:34 -05:00
..
…
…
2022-06-12 20:24:54 -04:00
2022-06-12 20:24:54 -04:00
…
2023-01-31 08:04:16 -05:00
2023-03-04 23:03:28 -05:00
2023-03-04 23:03:31 -05:00
…
2023-01-31 08:04:14 -05:00
2023-01-03 08:38:38 -05:00
…
2023-01-31 08:04:13 -05:00
2023-01-31 08:04:10 -05:00
2021-04-30 10:59:28 -07:00
…
2023-01-03 08:38:40 -05:00
2023-01-03 08:38:14 -05:00
2023-03-04 23:03:30 -05:00