node/doc/api
cjihrig 2ce7c69fce test_runner: add context.filePath
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>
2024-07-17 07:01:21 +00:00
..
addons.md src: use args.This() instead of Holder 2024-06-18 16:02:42 +00:00
assert.md doc: require node:process in assert doc examples 2024-07-04 19:49:38 +00:00
async_context.md 2023-04-18, Version 20.0.0 (Current) 2023-04-18 13:04:39 -03:00
async_hooks.md doc: declare path on example of async_hooks.executionAsyncId() 2023-07-18 20:00:50 +00:00
buffer.md doc: add Buffer.from(string) to functions that use buffer pool 2024-06-14 12:27:01 +00:00
child_process.md doc: add example for execFileSync method and ref to stdio 2024-05-12 07:18:40 +00:00
cli.md test: support glob matching coverage files 2024-07-14 22:37:45 +00:00
cluster.md doc: improve the documentation of the stdio option 2023-05-30 06:10:58 +00:00
console.md doc: update to align console.table row to the left 2023-11-06 16:47:53 +00:00
corepack.md doc: update pnpm link 2024-03-18 14:27:59 +00:00
crypto.md doc: clarify authenticity of plaintexts in update 2024-07-11 13:40:39 +00:00
debugger.md inspector: introduce the --inspect-wait flag 2024-05-11 18:48:30 +00:00
deprecations.md 2024-07-02, Version 22.4.0 (Current) 2024-07-02 10:50:11 +02:00
dgram.md doc: use consistent plural form of "index" 2024-04-07 06:46:29 +00:00
diagnostics_channel.md lib: add diagnostics_channel events to module loading 2024-06-20 21:25:04 -03:00
dns.md doc: fix dns.lookup family 0 and all descriptions 2024-05-11 20:37:30 +02:00
documentation.md doc: use consistent plural form of "index" 2024-04-07 06:46:29 +00:00
domain.md doc: fix typos 2023-04-23 13:34:08 +00:00
embedding.md test,doc: enable running embedtest for Windows 2024-05-23 18:33:40 +00:00
errors.md crypto: remove ERR_CRYPTO_SCRYPT_INVALID_PARAMETER 2024-07-10 16:38:00 +00:00
esm.md doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE 2024-06-05 11:20:26 +00:00
events.md doc, typings: events.once accepts symbol event type 2024-06-27 21:56:25 +00:00
fs.md doc: clarify that fs.exists() may return false for existing symlink 2024-06-26 09:38:30 +00:00
globals.md 2024-07-02, Version 22.4.0 (Current) 2024-07-02 10:50:11 +02:00
http2.md tools: use stylistic ESLint plugin for formatting 2024-04-15 15:08:10 +00:00
http.md http: expose websockets 2024-07-08 15:55:43 +00:00
https.md 2024-07-02, Version 22.4.0 (Current) 2024-07-02 10:50:11 +02:00
index.md lib,src,test,doc: add node:sqlite module 2024-07-09 20:33:38 +00:00
inspector.md doc: updates for better json generating 2024-02-13 21:37:42 +00:00
intl.md doc: improve documentation about ICU data fallback 2023-09-22 13:24:23 +00:00
module.md doc: fix module customization hook examples 2024-07-01 13:34:35 +00:00
modules.md module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
n-api.md doc: recommend not using libuv node-api function 2024-06-24 15:29:21 -04:00
net.md src: add UV_PIPE_NO_TRUNCATE for bind in pipe_wrap.cc 2024-05-06 12:56:36 +00:00
os.md doc: add esm example for os 2024-06-29 13:57:49 +00:00
packages.md lib,doc: replace references to import assertions 2024-05-17 08:07:48 +00:00
path.md path: add matchGlob method 2024-06-23 06:08:59 +00:00
perf_hooks.md 2024-05-15, Version 22.2.0 (Current) 2024-05-15 21:21:22 +02:00
permissions.md doc: mention v8.setFlagsFromString to pm 2024-07-06 19:01:35 +00:00
process.md process: port on-exit-leak-free to core 2024-07-11 17:57:20 +00:00
punycode.md doc: format doc/api/*.md with markdown formatter 2021-10-20 11:59:11 +02:00
querystring.md doc: get rid of unnecessary eslint-skip comments 2023-11-22 19:03:33 +00:00
readline.md doc: detailed description of keystrokes Ctrl-Y and Meta-Y 2023-08-08 19:51:43 +00:00
repl.md doc: harmonize fenced code snippet flags 2023-05-21 09:36:57 +02:00
report.md 2024-05-07, Version 20.13.0 'Iron' (LTS) 2024-05-07 17:32:24 +02:00
single-executable-applications.md 2024-03-26, Version 20.12.0 'Iron' (LTS) 2024-03-26 17:42:38 +00:00
sqlite.md lib,src,test,doc: add node:sqlite module 2024-07-09 20:33:38 +00:00
stream.md 2024-07-02, Version 22.4.0 (Current) 2024-07-02 10:50:11 +02:00
string_decoder.md doc: add print results for examples in StringDecoder 2023-08-27 15:32:47 +00:00
synopsis.md doc: clarify explaination text on how to run the example 2023-10-06 13:37:31 +00:00
test.md test_runner: add context.filePath 2024-07-17 07:01:21 +00:00
timers.md timers: emit warning if delay is negative or NaN 2024-06-28 11:36:31 +00:00
tls.md tls: add setKeyCert() to tls.Socket 2024-07-15 15:17:59 +00:00
tracing.md doc: include node.module_timer on available categories 2024-07-01 15:18:16 +00:00
tty.md doc: clarify tty.isRaw 2023-05-21 16:41:28 +00:00
url.md url: add missing documentation for URL.parse() 2024-07-05 02:51:03 +00:00
util.md 2024-07-02, Version 22.4.0 (Current) 2024-07-02 10:50:11 +02:00
v8.md 2024-05-07, Version 20.13.0 'Iron' (LTS) 2024-05-07 17:32:24 +02:00
vm.md 2024-03-26, Version 20.12.0 'Iron' (LTS) 2024-03-26 17:42:38 +00:00
wasi.md 2024-01-09, Version 20.11.0 'Iron' (LTS) 2024-01-09 20:47:16 +00:00
webcrypto.md crypto: make deriveBits length parameter optional and nullable 2024-06-28 22:21:29 +00:00
webstreams.md doc: fix grammatical mistake 2024-05-03 13:30:09 +00:00
worker_threads.md worker: add postMessageToThread 2024-07-09 07:16:04 +00:00
zlib.md 2024-06-20, Version 20.15.0 'Iron' (LTS) 2024-06-20 17:55:41 +02:00