From 9eca9dac971f95134ea2321d9bd3af42bcc29156 Mon Sep 17 00:00:00 2001 From: 0xArdi-N Date: Sun, 23 Jul 2023 20:25:21 +0700 Subject: [PATCH] doc: change duration to duration_ms on test documentation --- 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.