@exodus/test
    Preparing search index...
    interface TestSummary {
        counts: {
            cancelled: number;
            passed: number;
            skipped: number;
            suites: number;
            tests: number;
            todo: number;
            topLevel: number;
        };
        duration_ms: number;
        file: string
        | undefined;
        success: boolean;
    }
    Index

    Properties

    counts: {
        cancelled: number;
        passed: number;
        skipped: number;
        suites: number;
        tests: number;
        todo: number;
        topLevel: number;
    }

    An object containing the counts of various test results.

    Type Declaration

    • cancelled: number

      The total number of cancelled tests.

    • passed: number

      The total number of passed tests.

    • skipped: number

      The total number of skipped tests.

    • suites: number

      The total number of suites run.

    • tests: number

      The total number of tests run, excluding suites.

    • todo: number

      The total number of TODO tests.

    • topLevel: number

      The total number of top level tests and suites.

    duration_ms: number

    The duration of the test run in milliseconds.

    file: string | undefined

    The path of the test file that generated the summary. If the summary corresponds to multiple files, this value is undefined.

    success: boolean

    Indicates whether or not the test run is considered successful or not. If any error condition occurs, such as a failing test or unmet coverage threshold, this value will be set to false.