mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
doc: change duration to duration_ms on test documentation
PR-URL: https://github.com/nodejs/node/pull/48892 Fixes: https://github.com/nodejs/node/issues/48887 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
1 parent
c2575c8db0
commit
e8a32fb49b
1 file changed
+2
-2
+2
-2
@@ -1955,7 +1955,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,
|
||||
@@ -1972,7 +1972,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.
|
||||
|
||||
Reference in new issue
Block a user