test_runner: mark context.plan() as stable

This function does not require a CLI flag, does not emit a warning,
and is a fairly simple API that is already being used heavily in
the ecosystem. This commit marks context.plan() as stable.

PR-URL: https://github.com/nodejs/node/pull/55895
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
Colin Ihrig 2024-11-19 10:01:30 -05:00 committed by RafaelGSS
parent d5051d09b6
commit ce07299951
No known key found for this signature in database
GPG key ID: 8BEAB4DFCF555EF4

View file

@ -3032,10 +3032,13 @@ The name of the test.
<!-- YAML
added:
- v20.15.0
- v22.2.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/55895
description: This function is no longer experimental.
-->
> Stability: 1 - Experimental
* `count` {number} The number of assertions and subtests that are expected to run.
This function is used to set the number of assertions and subtests that are expected to run