GeezerVison is showing github.com — doc: document addition testing options · nodejs/node@f8f247b
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/test.md +6Lines changed: 6 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1190,6 +1190,12 @@ changes: |
1190 | 1190 | For each test that is executed, any corresponding test hooks, such as |
1191 | 1191 | `beforeEach()`, are also run. |
1192 | 1192 | **Default:** `undefined`. |
| 1193 | + * `testSkipPatterns` {string|RegExp|Array} A String, RegExp or a RegExp Array, |
| 1194 | + that can be used to exclude running tests whose name matches the provided pattern. |
| 1195 | + Test name patterns are interpreted as JavaScript regular expressions. |
| 1196 | + For each test that is executed, any corresponding test hooks, such as |
| 1197 | + `beforeEach()`, are also run. |
| 1198 | + **Default:** `undefined`. |
1193 | 1199 | * `timeout` {number} A number of milliseconds the test execution will |
1194 | 1200 | fail after. |
1195 | 1201 | If unspecified, subtests inherit this value from their parent. |
|