Skip to content

Commit c2575c8

Browse files
Ethan Arrowoodtargos
Ethan Arrowood
authored andcommitted
test_runner: fix test_runner test:fail event type
PR-URL: #48854 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
1 parent f27d505 commit c2575c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/test.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1956,7 +1956,8 @@ Emitted when a test is enqueued for execution.
19561956
* `data` {Object}
19571957
* `details` {Object} Additional execution metadata.
19581958
* `duration` {number} The duration of the test in milliseconds.
1959-
* `error` {Error} The error thrown by the test.
1959+
* `error` {Error} An error wrapping the error thrown by the test.
1960+
* `cause` {Error} The actual error thrown by the test.
19601961
* `file` {string|undefined} The path of the test file,
19611962
`undefined` if test was run through the REPL.
19621963
* `name` {string} The test name.

0 commit comments

Comments
 (0)