@exodus/test
    Preparing search index...
    interface TestFail {
        column?: number;
        details: { duration_ms: number; error: Error; type?: "suite" };
        file?: string;
        line?: number;
        name: string;
        nesting: number;
        skip?: string | boolean;
        testNumber: number;
        todo?: string | boolean;
    }

    Hierarchy

    Index

    Properties

    column?: number

    The column number where the test is defined, or undefined if the test was run through the REPL.

    details: { duration_ms: number; error: Error; type?: "suite" }

    Additional execution metadata.

    Type Declaration

    • duration_ms: number

      The duration of the test in milliseconds.

    • error: Error

      An error wrapping the error thrown by the test.

    • Optionaltype?: "suite"

      The type of the test, used to denote whether this is a suite.

      v20.0.0, v19.9.0, v18.17.0

    file?: string

    The path of the test file, undefined if test was run through the REPL.

    line?: number

    The line number where the test is defined, or undefined if the test was run through the REPL.

    name: string

    The test name.

    nesting: number

    The nesting level of the test.

    skip?: string | boolean

    Present if context.skip is called.

    testNumber: number

    The ordinal number of the test.

    todo?: string | boolean

    Present if context.todo is called.