coverageTotal()
API > @betterer/coverage > coverageTotal
Use this test to track your total test coverage. Reads a json-summary format coverage summary. Make sure to run your tests separately before running Betterer.
Signature
export declare function coverageTotal(coverageSummaryPath?: string): BettererCoverageTest;
Parameters
Parameter | Type | Description |
---|---|---|
coverageSummaryPath | string | relative path to the coverage summary. Defaults to './coverage/coverage-summary.json'. |