From 4b340f5bc8d780ea54f48efd4d3fc3c548f22bad 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 1df555a8274894..d3d7ed8086fae1 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -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.