Files
node/lib
Phil Nash 24615bd409 test_runner: fix ordering of test hooks
For tests with subtests the before hook was being run after the
beforeEach hook, which is the opposite to test suites and expectations.

Also, a function was being used to close over the after hooks, but at
the point it was being run the after hooks were not yet set up.

Fixes #47915

PR-URL: https://github.com/nodejs/node/pull/47931
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2023-05-11 10:10:56 +00:00
..
2023-01-10 05:38:36 +00:00
2023-04-29 06:57:08 +00:00
2023-03-26 18:03:58 +00:00
2023-03-19 12:58:19 +00:00
2023-05-02 00:48:20 +00:00
2023-04-03 17:47:28 +00:00
2023-05-02 00:48:20 +00:00
2022-11-07 18:25:54 -05:00
2023-05-02 00:48:20 +00:00