Function it

  • Type Parameters

    • I extends Record<string, any> = Record<string, any>
    • O extends Record<string, any> = Record<string, any>

    Parameters

    Returns void

Properties

Properties

each: <I extends KVMap, O extends KVMap>(
    table: ({ inputs: I; referenceOutputs: O } & Record<string, any>)[],
    config?: LangSmithJestlikeWrapperConfig,
) => (
    name: string,
    fn: (
        params: { inputs: I; referenceOutputs?: O } & Record<string, any>,
    ) => unknown,
    timeout?: number,
) => void = ...
only: <
    I extends Record<string, any> = Record<string, any>,
    O extends Record<string, any> = Record<string, any>,
>(
    name: string,
    lsParams: LangSmithJestlikeWrapperParams<I, O>,
    testFn: (
        data: { inputs: I; referenceOutputs?: O } & Record<string, any>,
    ) => unknown,
    timeout?: number,
) => void & {
    each: <I extends KVMap, O extends KVMap>(
        table: ({ inputs: I; referenceOutputs: O } & Record<string, any>)[],
        config?: LangSmithJestlikeWrapperConfig,
    ) => (
        name: string,
        fn: (
            params: { inputs: I; referenceOutputs?: O } & Record<string, any>,
        ) => unknown,
        timeout?: number,
    ) => void;
} = ...
skip: <
    I extends Record<string, any> = Record<string, any>,
    O extends Record<string, any> = Record<string, any>,
>(
    name: string,
    lsParams: LangSmithJestlikeWrapperParams<I, O>,
    testFn: (
        data: { inputs: I; referenceOutputs?: O } & Record<string, any>,
    ) => unknown,
    timeout?: number,
) => void & {
    each: <I extends KVMap, O extends KVMap>(
        table: ({ inputs: I; referenceOutputs: O } & Record<string, any>)[],
        config?: LangSmithJestlikeWrapperConfig,
    ) => (
        name: string,
        fn: (
            params: { inputs: I; referenceOutputs?: O } & Record<string, any>,
        ) => unknown,
        timeout?: number,
    ) => void;
} = ...