Skip to content

Commit 0e70d0b

Browse files
authored
doc: document addition testing options
PR-URL: #53569 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent feaa0c7 commit 0e70d0b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/test.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,12 @@ changes:
12841284
For each test that is executed, any corresponding test hooks, such as
12851285
`beforeEach()`, are also run.
12861286
**Default:** `undefined`.
1287+
* `testSkipPatterns` {string|RegExp|Array} A String, RegExp or a RegExp Array,
1288+
that can be used to exclude running tests whose name matches the provided pattern.
1289+
Test name patterns are interpreted as JavaScript regular expressions.
1290+
For each test that is executed, any corresponding test hooks, such as
1291+
`beforeEach()`, are also run.
1292+
**Default:** `undefined`.
12871293
* `timeout` {number} A number of milliseconds the test execution will
12881294
fail after.
12891295
If unspecified, subtests inherit this value from their parent.

0 commit comments

Comments
 (0)