Skip to content

Commit a20a7c8

Browse files
author
0xArdi-N
committed
doc: change duration to duration_ns on test documentation
1 parent 44b8a06 commit a20a7c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,7 @@ Emitted when a test is enqueued for execution.
20142014

20152015
* `data` {Object}
20162016
* `details` {Object} Additional execution metadata.
2017-
* `duration` {number} The duration of the test in milliseconds.
2017+
* `duration_ms` {number} The duration of the test in milliseconds.
20182018
* `error` {Error} An error wrapping the error thrown by the test.
20192019
* `cause` {Error} The actual error thrown by the test.
20202020
* `file` {string|undefined} The path of the test file,
@@ -2031,7 +2031,7 @@ Emitted when a test fails.
20312031

20322032
* `data` {Object}
20332033
* `details` {Object} Additional execution metadata.
2034-
* `duration` {number} The duration of the test in milliseconds.
2034+
* `duration_ms` {number} The duration of the test in milliseconds.
20352035
* `file` {string|undefined} The path of the test file,
20362036
`undefined` if test was run through the REPL.
20372037
* `name` {string} The test name.

0 commit comments

Comments
 (0)