Arize Phoenix TS
Preparing search index...
@arizeai/phoenix-client
testing/runner
declareTest
Function declareTest
declareTest
<
Input
extends
KVMap
,
Expected
extends
KVMap
>
(
hooks
:
RunnerHooks
,
name
:
string
,
params
:
TestParams
<
Input
,
Expected
>
,
fn
:
TestFn
<
Input
,
Expected
>
,
variant
?:
TestVariant
,
timeout
?:
number
,
)
:
void
Drive a
test(name, params, fn)
invocation.
Type Parameters
Input
extends
KVMap
Expected
extends
KVMap
Parameters
hooks
:
RunnerHooks
name
:
string
params
:
TestParams
<
Input
,
Expected
>
fn
:
TestFn
<
Input
,
Expected
>
variant
:
TestVariant
= "default"
Optional
timeout
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Arize Phoenix TS
Loading...
Drive a
test(name, params, fn)invocation.