c8js
    Preparing search index...

    Interface Fail

    A shortfall in code coverage.

    interface Fail {
        coverage: number;
        fileName: null | string;
        key: "branches" | "functions" | "lines" | "statements";
        threshold: number;
    }
    Index

    Properties

    coverage: number

    The actual code coverage for the specified measure, in percentage.

    fileName: null | string

    The relative path of the file failing code coverage check if the option perFile was set to true, or null otherwise.

    key: "branches" | "functions" | "lines" | "statements"

    The measure failing code coverage check. It can be one of 'branches', 'functions', 'lines', or 'statements'.

    threshold: number

    The threshold for the specified measure, in percentage.