c8js
    Preparing search index...

    Function checkCoverage

    • Checks that code coverage is within the specified thresholds.

      Parameters

      Returns Promise<void>

      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.