Skip to main content

function default.todo

Overload 1

#todo(
name?: string,
options?: TestOptions,
fn?: TestFn,
): Promise<void>

Shorthand for marking a test as TODO. This is the same as calling test with options.todo set to true.

Parameters #

#name: string
optional
#options: TestOptions
optional
#fn: TestFn
optional

Return Type #

Promise<void>

Overload 2

#todo(
name?: string,
fn?: TestFn,
): Promise<void>

Parameters #

#name: string
optional
#fn: TestFn
optional

Return Type #

Promise<void>

Overload 3

#todo(
options?: TestOptions,
fn?: TestFn,
): Promise<void>

Parameters #

#options: TestOptions
optional
#fn: TestFn
optional

Return Type #

Promise<void>

Overload 4

#todo(fn?: TestFn): Promise<void>

Parameters #

#fn: TestFn
optional

Return Type #

Promise<void>

Did you find what you needed?

Privacy policy