We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test:fail
1 parent 420b85c commit 4bd5e55Copy full SHA for 4bd5e55
doc/api/test.md
@@ -2030,7 +2030,8 @@ Emitted when a test is enqueued for execution.
2030
* `data` {Object}
2031
* `details` {Object} Additional execution metadata.
2032
* `duration` {number} The duration of the test in milliseconds.
2033
- * `error` {Error} The error thrown by the test.
+ * `error` {Error} An error wrapping the error thrown by the test.
2034
+ * `cause` {Error} The actual error thrown by the test.
2035
* `file` {string|undefined} The path of the test file,
2036
`undefined` if test was run through the REPL.
2037
* `name` {string} The test name.
0 commit comments