node/lib/internal/test_runner
cjihrig 85aa6ca850
Revert "test_runner: do not invoke after hook when test is empty"
This reverts commit a53fd95d36.

This caused a regression because the original issue this commit
was attempting to fix is not a bug. The after() hook should
always run.

Fixes: https://github.com/nodejs/node/issues/51997
PR-URL: https://github.com/nodejs/node/pull/51998
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2024-03-07 10:27:35 +01:00
..
mock test_runner: add ref methods to mocked timers 2024-02-27 12:13:41 +01:00
reporter test_runner: serialize 'expected' and 'actual' in isolation 2024-02-29 12:54:52 +01:00
coverage.js lib: use internal fileURLToPath 2023-09-10 14:57:37 +00:00
harness.js test_runner: fixed test object is incorrectly passed to setup() 2024-01-02 15:05:26 -03:00
runner.js test_runner: fixed test object is incorrectly passed to setup() 2024-01-02 15:05:26 -03:00
test.js Revert "test_runner: do not invoke after hook when test is empty" 2024-03-07 10:27:35 +01:00
tests_stream.js test_runner: expose location of tests 2023-08-11 09:12:49 -04:00
utils.js test_runner: fixed test object is incorrectly passed to setup() 2024-01-02 15:05:26 -03:00