Skip to content

Commit 4bd5e55

Browse files
Ethan ArrowoodRafaelGSS
Ethan Arrowood
authored andcommitted
test_runner: fix test_runner test:fail event type
PR-URL: #48854 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
1 parent 420b85c commit 4bd5e55

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
@@ -2030,7 +2030,8 @@ Emitted when a test is enqueued for execution.
20302030
* `data` {Object}
20312031
* `details` {Object} Additional execution metadata.
20322032
* `duration` {number} The duration of the test in milliseconds.
2033-
* `error` {Error} The error thrown by the test.
2033+
* `error` {Error} An error wrapping the error thrown by the test.
2034+
* `cause` {Error} The actual error thrown by the test.
20342035
* `file` {string|undefined} The path of the test file,
20352036
`undefined` if test was run through the REPL.
20362037
* `name` {string} The test name.

0 commit comments

Comments
 (0)