Skip to content

Commit

Permalink
doc: update return type for describe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shrujalshah28 authored and RafaelGSS committed Jul 3, 2023
1 parent d96f921 commit cc3a056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/test.md
Expand Up @@ -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.
Expand Down

0 comments on commit cc3a056

Please sign in to comment.