Skip to content

Commit fe4ac37

Browse files
doc: update return type for describe
PR-URL: #48572 Fixes: #48571 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 0ffad8a commit fe4ac37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/test.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ same as [`test([name], { only: true }[, fn])`][it options].
981981
declaring all subtests and subsuites.
982982
The first argument to this function is a [`SuiteContext`][] object.
983983
**Default:** A no-op function.
984-
* Returns: `undefined`.
984+
* Returns: {Promise} Immediately fulfilled with `undefined`.
985985

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

0 commit comments

Comments
 (0)