Skip to content

Commit

Permalink
doc: change duration to duration_ms on test documentation
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
zyxidra authored and Ceres6 committed Jul 27, 2023
1 parent 467c69f commit aa61915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,7 @@ Emitted when a test is enqueued for execution.

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

* `data` {Object}
* `details` {Object} Additional execution metadata.
* `duration` {number} The duration of the test in milliseconds.
* `duration_ms` {number} The duration of the test in milliseconds.
* `file` {string|undefined} The path of the test file,
`undefined` if test was run through the REPL.
* `name` {string} The test name.
Expand Down

0 comments on commit aa61915

Please sign in to comment.