Skip to content

Commit

Permalink
test_runner: fix test_runner test:fail event type
Browse files Browse the repository at this point in the history
PR-URL: nodejs#48854
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
  • Loading branch information
Ethan Arrowood authored and pluris committed Aug 7, 2023
1 parent 161ff90 commit 0207ded
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,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.
Expand Down

0 comments on commit 0207ded

Please sign in to comment.