test_runner: fix test_runner test:fail event type

PR-URL: https://github.com/nodejs/node/pull/48854
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
Ethan Arrowood authored and Michaël Zasso committed 2023-10-28 12:30:11 +02:00
1 parent f27d505805
commit c2575c8db0
1 file changed
+2 -1
+2 -1
View File
@@ -1956,7 +1956,8 @@ Emitted when a test is enqueued for execution.
* `data` {Object}
* `details` {Object} Additional execution metadata.
* `duration` {number} The duration of the test in milliseconds.
* `error` {Error} The error thrown by the test.
* `error` {Error} An error wrapping the error thrown by the test.
* `cause` {Error} The actual error thrown by the test.
* `file` {string|undefined} The path of the test file,
`undefined` if test was run through the REPL.
* `name` {string} The test name.