Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2022-02-09 08:23:36 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2022-03-22 01:21:09 +0300
commit432d1b50e0432daf7e81dea9a8d6dca64ecde6a4 (patch)
tree05b771ff8e270cd2405382d9e696b517700f3835 /doc/api/errors.md
parentda399a6c8e6ed60313ba0d5dae24d55a1a7c2c37 (diff)
test: add initial test module
This commit adds a new 'test' module that exposes an API for creating JavaScript tests. As the tests execute, TAP output is written to standard output. This commit only supports executing individual test files, and does not implement command line functionality for a full test runner. PR-URL: https://github.com/nodejs/node/pull/42325 Refs: https://github.com/nodejs/node/issues/40954 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r--doc/api/errors.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index b26829be000..e25561147d5 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -2551,6 +2551,14 @@ An unspecified or non-specific system error has occurred within the Node.js
process. The error object will have an `err.info` object property with
additional details.
+<a id="ERR_TEST_FAILURE"></a>
+
+### `ERR_TEST_FAILURE`
+
+This error represents a failed test. Additional information about the failure
+is available via the `cause` property. The `failureType` property specifies
+what the test was doing when the failure occurred.
+
<a id="ERR_TLS_CERT_ALTNAME_FORMAT"></a>
### `ERR_TLS_CERT_ALTNAME_FORMAT`