Skip to content

Commit

Permalink
doc: update return type for describe
Browse files Browse the repository at this point in the history
PR-URL: nodejs#48572
Fixes: nodejs#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 Ceres6 committed Aug 14, 2023
1 parent b1dd25e commit dcbc22a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,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 dcbc22a

Please sign in to comment.