From cc3a056fdd7098eebe0da25b65b720d3f320845c Mon Sep 17 00:00:00 2001 From: Shrujal Shah Date: Thu, 29 Jun 2023 06:39:44 +0100 Subject: [PATCH] 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 Reviewed-By: Luigi Pinca Reviewed-By: Moshe Atlow --- doc/api/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/test.md b/doc/api/test.md index d48190907ec87a..6010e63d956f08 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -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.