BettererFileTest.exclude()
API > @betterer/betterer > BettererFileTest > exclude
Add a list of Regular Expression filters for files to exclude when running the test.
Signature
exclude(...excludePatterns: BettererFilePatterns): this;
Parameters
Parameter | Type | Description |
---|---|---|
excludePatterns | BettererFilePatterns | RegExp filters to match file paths that should be excluded. |
Returns
this
This BettererFileTest
, so it is chainable.