From 092f9fe92a6baacf3fdb72d4c9751efb476969e5 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 e86e8999316b20..4b0c298e7f21b4 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -2029,7 +2029,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, @@ -2046,7 +2046,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.