Arize Phoenix TS
    Preparing search index...

    Interface TestArgs<Input, Expected>

    Arguments passed to a test() body: the Example under test, exposed as its input, expected output, and metadata. Read straight from the test's TestParams — the runner does not transform them.

    interface TestArgs<Input extends KVMap = KVMap, Expected extends KVMap = KVMap> {
        expected?: Expected;
        input: Input;
        metadata?: KVMap;
    }

    Type Parameters

    Index

    Properties

    expected?: Expected

    The example's expected (reference) output, when one was supplied.

    input: Input

    The example's input under test.

    metadata?: KVMap

    Any metadata attached to the example.