doc: update return type for describe

PR-URL: https://github.com/nodejs/node/pull/48572
Fixes: https://github.com/nodejs/node/issues/48571
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
Shrujal Shah authored and RafaelGSS committed 2023-07-03 10:42:27 -03:00
1 parent d96f921d06
commit cc3a056fdd
1 file changed
+1 -1
+1 -1
View File
@@ -1004,7 +1004,7 @@ same as [`test([name], { only: true }[, fn])`][it options].
declaring all subtests and subsuites.
The first argument to this function is a [`SuiteContext`][] object.
**Default:** A no-op function.
* Returns: `undefined`.
* Returns: {Promise} Immediately fulfilled with `undefined`.
The `describe()` function imported from the `node:test` module. Each
invocation of this function results in the creation of a Subtest.