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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
  • Loading branch information
shrujalshah28 authored and ruyadorno committed Sep 12, 2023
1 parent 6b6d5d9 commit f436ac1
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 @@ -871,7 +871,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 f436ac1

Please sign in to comment.