GeezerVison is showing github.com — doc: change duration to duration_ms on test documentation · nodejs/node@e8a32fb
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 |
|---|
@@ -1955,7 +1955,7 @@ Emitted when a test is enqueued for execution. |
1955 | 1955 |
|
1956 | 1956 | * `data` {Object} |
1957 | 1957 | * `details` {Object} Additional execution metadata. |
1958 | | - * `duration` {number} The duration of the test in milliseconds. |
| 1958 | + * `duration_ms` {number} The duration of the test in milliseconds. |
1959 | 1959 | * `error` {Error} An error wrapping the error thrown by the test. |
1960 | 1960 | * `cause` {Error} The actual error thrown by the test. |
1961 | 1961 | * `file` {string|undefined} The path of the test file, |
@@ -1972,7 +1972,7 @@ Emitted when a test fails. |
1972 | 1972 |
|
1973 | 1973 | * `data` {Object} |
1974 | 1974 | * `details` {Object} Additional execution metadata. |
1975 | | - * `duration` {number} The duration of the test in milliseconds. |
| 1975 | + * `duration_ms` {number} The duration of the test in milliseconds. |
1976 | 1976 | * `file` {string|undefined} The path of the test file, |
1977 | 1977 | `undefined` if test was run through the REPL. |
1978 | 1978 | * `name` {string} The test name. |
|