Skip to content

Commit 092f9fe

Browse files
ardi-nugrahaRafaelGSS
authored andcommitted
doc: change duration to duration_ms on test documentation
PR-URL: #48892 Fixes: #48887 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
1 parent 5e47308 commit 092f9fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/test.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2029,7 +2029,7 @@ Emitted when a test is enqueued for execution.
20292029

20302030
* `data` {Object}
20312031
* `details` {Object} Additional execution metadata.
2032-
* `duration` {number} The duration of the test in milliseconds.
2032+
* `duration_ms` {number} The duration of the test in milliseconds.
20332033
* `error` {Error} An error wrapping the error thrown by the test.
20342034
* `cause` {Error} The actual error thrown by the test.
20352035
* `file` {string|undefined} The path of the test file,
@@ -2046,7 +2046,7 @@ Emitted when a test fails.
20462046

20472047
* `data` {Object}
20482048
* `details` {Object} Additional execution metadata.
2049-
* `duration` {number} The duration of the test in milliseconds.
2049+
* `duration_ms` {number} The duration of the test in milliseconds.
20502050
* `file` {string|undefined} The path of the test file,
20512051
`undefined` if test was run through the REPL.
20522052
* `name` {string} The test name.

0 commit comments

Comments
 (0)