mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: mention test runner retry attemp is zero based
PR-URL: https://github.com/nodejs/node/pull/62504 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
This commit is contained in:
1 parent
cf0edeb65d
commit
08a9ba73e4
1 file changed
+6
-4
+6
-4
@@ -3913,7 +3913,9 @@ added: v25.0.0
|
||||
|
||||
* Type: {number}
|
||||
|
||||
Number of times the test has been attempted.
|
||||
The attempt number of the test. This value is zero-based, so the first attempt is `0`,
|
||||
the second attempt is `1`, and so on. This property is useful in conjunction with the
|
||||
`--test-rerun-failures` option to determine which attempt the test is currently running.
|
||||
|
||||
### `context.workerId`
|
||||
|
||||
@@ -4286,9 +4288,9 @@ added: REPLACEME
|
||||
|
||||
* Type: {number}
|
||||
|
||||
The current attempt number of the suite. Used in conjunction with the
|
||||
`--test-rerun-failures` option to determine the attempt number of the current
|
||||
run.
|
||||
The attempt number of the suite. This value is zero-based, so the first attempt is `0`,
|
||||
the second attempt is `1`, and so on. This property is useful in conjunction with the
|
||||
`--test-rerun-failures` option to determine the attempt number of the current run.
|
||||
|
||||
### `context.diagnostic(message)`
|
||||
|
||||
|
||||
Reference in new issue
Block a user