GeezerVison is showing github.com — doc: change duration to duration_ms on test documentation · nodejs/node@092f9fe
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/test.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2029,7 +2029,7 @@ Emitted when a test is enqueued for execution. |
2029 | 2029 |
|
2030 | 2030 | * `data` {Object} |
2031 | 2031 | * `details` {Object} Additional execution metadata. |
2032 | | - * `duration` {number} The duration of the test in milliseconds. |
| 2032 | + * `duration_ms` {number} The duration of the test in milliseconds. |
2033 | 2033 | * `error` {Error} An error wrapping the error thrown by the test. |
2034 | 2034 | * `cause` {Error} The actual error thrown by the test. |
2035 | 2035 | * `file` {string|undefined} The path of the test file, |
@@ -2046,7 +2046,7 @@ Emitted when a test fails. |
2046 | 2046 |
|
2047 | 2047 | * `data` {Object} |
2048 | 2048 | * `details` {Object} Additional execution metadata. |
2049 | | - * `duration` {number} The duration of the test in milliseconds. |
| 2049 | + * `duration_ms` {number} The duration of the test in milliseconds. |
2050 | 2050 | * `file` {string|undefined} The path of the test file, |
2051 | 2051 | `undefined` if test was run through the REPL. |
2052 | 2052 | * `name` {string} The test name. |
|