@archastro/sdk
    Preparing search index...

    Interface ScriptTestCase

    One test.it(...) block from a ScriptTest run. Built by the harvester from the raw output entries — pairs the case's metadata with the assertions it produced and any runtime error that aborted the body. An it block that emits zero assertions is treated as a failure (pass: false) so silent mistakes don't pass quietly.

    interface ScriptTestCase {
        assertions?: ScriptTestAssertion[];
        describe?: string[];
        error?: string;
        name: string;
        pass: boolean;
    }
    Index

    Properties

    assertions?: ScriptTestAssertion[]

    Every test.expect(...) matcher that ran inside this case

    describe?: string[]

    Outer-to-inner describe path enclosing this case

    error?: string

    Runtime error that aborted the body of this it block, when one occurred

    name: string

    The name passed to test.it(...)

    pass: boolean

    True when the case has at least one assertion and every assertion passed