Interface Extra

The extra info passed to assertions.

Extended by BaseOpts, TestBaseOpts, and ultimately TestOpts, since any subtest is also an assertion, and can take all the same assertion options.

interface Extra {
    at?: null | CallSiteLike | CallSiteLikeJSON;
    bail?: boolean;
    diagnostic?: boolean;
    diff?: string;
    doNotWant?: any;
    error?: any;
    errorOrigin?: {
        at?: null | CallSiteLike | CallSiteLikeJSON;
        source?: string;
        stack?: string;
    };
    expired?: string;
    found?: any;
    message?: string;
    pattern?: any;
    skip?: string | boolean;
    source?: string;
    stack?: string;
    tapChildBuffer?: string;
    test?: string;
    todo?: string | boolean;
    type?: string;
    wanted?: any;
    [k: string]: any;
}

Hierarchy (view full)

Indexable

  • [k: string]: any

Properties

bail?: boolean
diagnostic?: boolean
diff?: string
doNotWant?: any
error?: any
errorOrigin?: {
    at?: null | CallSiteLike | CallSiteLikeJSON;
    source?: string;
    stack?: string;
}
expired?: string
found?: any
message?: string
pattern?: any
skip?: string | boolean
source?: string
stack?: string
tapChildBuffer?: string
test?: string
todo?: string | boolean
type?: string
wanted?: any