From 71165e111a8606ad37784d992b8d3cee4fbf0156 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 1a8bf3afadd75c..8f7f7f4cd4d7dd 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -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, @@ -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.