Skip to content

Commit 7f78f2c

Browse files
arxngrCeres6
authored andcommitted
doc: change duration to duration_ms on test documentation
PR-URL: nodejs#48892 Fixes: nodejs#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 c1cd6ab commit 7f78f2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,7 @@ Emitted when a test is enqueued for execution.
20142014

20152015
* `data` {Object}
20162016
* `details` {Object} Additional execution metadata.
2017-
* `duration` {number} The duration of the test in milliseconds.
2017+
* `duration_ms` {number} The duration of the test in milliseconds.
20182018
* `error` {Error} An error wrapping the error thrown by the test.
20192019
* `cause` {Error} The actual error thrown by the test.
20202020
* `file` {string|undefined} The path of the test file,
@@ -2031,7 +2031,7 @@ Emitted when a test fails.
20312031

20322032
* `data` {Object}
20332033
* `details` {Object} Additional execution metadata.
2034-
* `duration` {number} The duration of the test in milliseconds.
2034+
* `duration_ms` {number} The duration of the test in milliseconds.
20352035
* `file` {string|undefined} The path of the test file,
20362036
`undefined` if test was run through the REPL.
20372037
* `name` {string} The test name.

0 commit comments

Comments
 (0)