Skip to content

Commit f436ac1

Browse files
shrujalshah28ruyadorno
authored andcommittedSep 12, 2023
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 6b6d5d9 commit f436ac1

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
@@ -871,7 +871,7 @@ same as [`test([name], { only: true }[, fn])`][it options].
871871
declaring all subtests and subsuites.
872872
The first argument to this function is a [`SuiteContext`][] object.
873873
**Default:** A no-op function.
874-
* Returns: `undefined`.
874+
* Returns: {Promise} Immediately fulfilled with `undefined`.
875875

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

0 commit comments

Comments
 (0)
Please sign in to comment.