We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test:fail
1 parent f27d505 commit c2575c8Copy full SHA for c2575c8
doc/api/test.md
@@ -1956,7 +1956,8 @@ Emitted when a test is enqueued for execution.
1956
* `data` {Object}
1957
* `details` {Object} Additional execution metadata.
1958
* `duration` {number} The duration of the test in milliseconds.
1959
- * `error` {Error} The error thrown by the test.
+ * `error` {Error} An error wrapping the error thrown by the test.
1960
+ * `cause` {Error} The actual error thrown by the test.
1961
* `file` {string|undefined} The path of the test file,
1962
`undefined` if test was run through the REPL.
1963
* `name` {string} The test name.
0 commit comments