BettererFileTest.include()
API > @betterer/betterer > BettererFileTest > include
Add a list of glob patterns for files to include when running the test.
Signature
include(...includePatterns: BettererFileGlobs): this;
Parameters
Parameter | Type | Description |
---|---|---|
includePatterns | BettererFileGlobs | Glob patterns to match file paths that should be included. All includes should be relative to the test definition file. |
Returns
this
This BettererFileTest
, so it is chainable.