node/lib/internal/test_runner
cjihrig aa3523ec22 test_runner: automatically wait for subtests to finish
This commit updates the test runner to automatically wait for
subtests to finish. This makes the experience more consistent
with suites and removes the need to await anything.

PR-URL: https://github.com/nodejs/node/pull/56664
Fixes: https://github.com/nodejs/node/issues/51292
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
2025-01-31 12:55:59 -08:00
..
mock test_runner: error on mocking an already mocked date 2024-11-17 10:25:12 +00:00
reporter test_runner: print failing assertion only once with spec reporter 2025-01-24 08:23:29 -08:00
assert.js test_runner: add assert.register() API 2025-01-04 18:30:04 +00:00
coverage.js test_runner: exclude test files from coverage by default 2024-12-17 11:10:17 +00:00
harness.js test_runner: automatically wait for subtests to finish 2025-01-31 12:55:59 -08:00
runner.js test_runner: refactor Promise chain in run() 2024-11-25 07:35:36 +00:00
snapshot.js test_runner: add t.assert.fileSnapshot() 2025-01-09 21:12:17 +00:00
test.js test_runner: automatically wait for subtests to finish 2025-01-31 12:55:59 -08:00
tests_stream.js test_runner: differentiate test types in enqueue dequeue events 2025-01-05 08:35:35 +00:00
utils.js test_runner,cli: mark test isolation as stable 2024-12-20 02:10:26 +00:00