Files
node/lib/internal
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-03-06 10:44:14 +01:00
2023-05-02 00:48:20 +00:00
2023-05-02 00:48:20 +00:00
2023-03-12 18:35:55 +00:00
2023-03-06 10:44:14 +01:00
2023-05-02 00:48:20 +00:00
2023-04-21 20:55:11 -07:00
2022-09-07 09:33:10 +00:00
2022-08-05 14:25:06 +00:00
2023-04-05 08:31:56 -07:00
2023-02-28 09:37:24 +00:00
2023-05-07 19:41:21 +00:00
2023-05-02 00:48:20 +00:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.