mirror of
https://github.com/nodejs/node.git
synced 2025-05-03 01:31:27 +00:00
![]() This commit adds a filePath getter to the TestContext and SuiteContext classes. This allows a context to be mapped back to the original test file that created it, even if it was imported from another file. This is useful for mapping features like test snapshots to the correct test file. This is also prep work for supporting running test files in the test runner process. PR-URL: https://github.com/nodejs/node/pull/53853 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> |
||
---|---|---|
.. | ||
mock | ||
reporter | ||
coverage.js | ||
harness.js | ||
runner.js | ||
snapshot.js | ||
test.js | ||
tests_stream.js | ||
utils.js |