Skip to main content

property RunOptions.testSkipPatterns

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.

Type #

string
| RegExp
| ReadonlyArray<string | RegExp>
| undefined

Did you find what you needed?

Privacy policy