Skip to content

Commit 6a6fc0c

Browse files
PaulyBearCodingaduh95
authored andcommitted
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: #60757 PR-URL: #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>
1 parent 8c97827 commit 6a6fc0c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

doc/api/test.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3662,7 +3662,9 @@ the path of the root test file.
36623662
### `context.fullName`
36633663

36643664
<!-- YAML
3665-
added: v22.3.0
3665+
added:
3666+
- v22.3.0
3667+
- v20.16.0
36663668
-->
36673669

36683670
The name of the test and each of its ancestors, separated by `>`.
@@ -3965,6 +3967,16 @@ The absolute path of the test file that created the current suite. If a test
39653967
file imports additional modules that generate suites, the imported suites will
39663968
return the path of the root test file.
39673969

3970+
### `context.fullName`
3971+
3972+
<!-- YAML
3973+
added:
3974+
- v22.3.0
3975+
- v20.16.0
3976+
-->
3977+
3978+
The name of the suite and each of its ancestors, separated by `>`.
3979+
39683980
### `context.name`
39693981

39703982
<!-- YAML

0 commit comments

Comments
 (0)