From e8a32fb49b2c746bca5555caec49824c94b068fa Mon Sep 17 00:00:00 2001 From: Ardi_Nugraha <33378542+0xArdi-N@users.noreply.github.com> Date: Tue, 25 Jul 2023 20:34:16 +0700 Subject: [PATCH] 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 Reviewed-By: Luigi Pinca Reviewed-By: Moshe Atlow Reviewed-By: Colin Ihrig Reviewed-By: Chemi Atlow --- doc/api/test.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/test.md b/doc/api/test.md index 96290ab22fc56f..e1deef42794dcb 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -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.