From f8f247bc993a346a0eb0d1d43c214795ae846f52 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Wed, 26 Jun 2024 08:05:14 -0400 Subject: [PATCH] doc: document addition testing options PR-URL: https://github.com/nodejs/node/pull/53569 Reviewed-By: Luigi Pinca Reviewed-By: Benjamin Gruenbaum Reviewed-By: Moshe Atlow --- doc/api/test.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/api/test.md b/doc/api/test.md index 0780e2462dae53..8828b1442a2c1c 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1190,6 +1190,12 @@ changes: For each test that is executed, any corresponding test hooks, such as `beforeEach()`, are also run. **Default:** `undefined`. + * `testSkipPatterns` {string|RegExp|Array} A String, RegExp or a RegExp Array, + that can be used to exclude running tests whose name matches the provided pattern. + Test name patterns are interpreted as JavaScript regular expressions. + For each test that is executed, any corresponding test hooks, such as + `beforeEach()`, are also run. + **Default:** `undefined`. * `timeout` {number} A number of milliseconds the test execution will fail after. If unspecified, subtests inherit this value from their parent.