From 519c328dcfd4ba1f831bcd51312002f72727b33b 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 97d55937364ac8..7582a8eda77ea7 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1282,6 +1282,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.