We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test:fail
1 parent 9923dd9 commit 0813257Copy full SHA for 0813257
doc/api/test.md
@@ -2015,7 +2015,8 @@ Emitted when a test is enqueued for execution.
2015
* `data` {Object}
2016
* `details` {Object} Additional execution metadata.
2017
* `duration` {number} The duration of the test in milliseconds.
2018
- * `error` {Error} The error thrown by the test.
+ * `error` {Error} An error wrapping the error thrown by the test.
2019
+ * `cause` {Error} The actual error thrown by the test.
2020
* `file` {string|undefined} The path of the test file,
2021
`undefined` if test was run through the REPL.
2022
* `name` {string} The test name.
0 commit comments