BettererCoverageTest
API > @betterer/coverage > BettererCoverageTest
BettererCoverageTest
provides a wrapper around BettererTest
that makes it easier to implement coverage tests.
Signature
export declare class BettererCoverageTest extends BettererTest<BettererCoverageIssues, BettererCoverageIssues, BettererCoverageDiff>
Remarks
BettererCoverageTest
provides a useful example for the more complex possibilities of the BettererTestOptions
interface.
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the BettererCoverageTest
class.
Methods
Method | Modifiers | Description |
---|---|---|
exclude(excludePatterns) | Add a list of Regular Expression filters for files to exclude when running the test. | |
include(includePatterns) | Add a list of glob patterns for files to include when running the test. |