From 069e30de567ff508f7675cc946792f318923ba8e Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Mon, 24 Jun 2024 07:54:23 -0400 Subject: [PATCH] doc: document addition testing options --- doc/api/test.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/api/test.md b/doc/api/test.md index 7209ee98e56d07..9c5fcc2b79391f 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1284,6 +1284,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.