- it<
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 Type Parameters
- I extends Record<string, any> = Record<string, any>
- O extends Record<string, any> = Record<string, any>
Returns void
Properties
each
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
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
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;} = ...