Optional
options: checkCoverage.Options & Partial<default.Options>Options for the function.
A promise that resolves if code coverage is within the thresholds, and rejects if an error
occurs.
If code coverage is under the specified thresholds, the promise will reject with a LowCoverageError
.
Checks that code coverage is within the specified thresholds.