Skip to content

Commit cc3a056

Browse files
shrujalshah28RafaelGSS
authored andcommitted
doc: update return type for describe
PR-URL: #48572 Fixes: #48571 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent d96f921 commit cc3a056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ same as [`test([name], { only: true }[, fn])`][it options].
10041004
declaring all subtests and subsuites.
10051005
The first argument to this function is a [`SuiteContext`][] object.
10061006
**Default:** A no-op function.
1007-
* Returns: `undefined`.
1007+
* Returns: {Promise} Immediately fulfilled with `undefined`.
10081008

10091009
The `describe()` function imported from the `node:test` module. Each
10101010
invocation of this function results in the creation of a Subtest.

0 commit comments

Comments
 (0)