mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: add fullName property to SuiteContext
Add documentation for the missing fullName property in SuiteContext. This property returns the name of the suite and each of its ancestors, separated by '>'. The property has been available since v22.3.0 but was missing from the documentation. Fixes: https://github.com/nodejs/node/issues/60757 PR-URL: https://github.com/nodejs/node/pull/60762 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
@@ -3667,7 +3667,9 @@ the path of the root test file.
|
||||
### `context.fullName`
|
||||
|
||||
<!-- YAML
|
||||
added: v22.3.0
|
||||
added:
|
||||
- v22.3.0
|
||||
- v20.16.0
|
||||
-->
|
||||
|
||||
The name of the test and each of its ancestors, separated by `>`.
|
||||
@@ -3970,6 +3972,16 @@ The absolute path of the test file that created the current suite. If a test
|
||||
file imports additional modules that generate suites, the imported suites will
|
||||
return the path of the root test file.
|
||||
|
||||
### `context.fullName`
|
||||
|
||||
<!-- YAML
|
||||
added:
|
||||
- v22.3.0
|
||||
- v20.16.0
|
||||
-->
|
||||
|
||||
The name of the suite and each of its ancestors, separated by `>`.
|
||||
|
||||
### `context.name`
|
||||
|
||||
<!-- YAML
|
||||
|
||||
Reference in New Issue
Block a user