Interface TaskContext<Task>

interface TaskContext<Task> {
    onTestFailed: ((fn) => void);
    skip: (() => void);
    task: Readonly<Task>;
}

Type Parameters

Properties

onTestFailed: ((fn) => void)

Extract hooks on test failed

Type declaration

skip: (() => void)

Mark tests as skipped. All execution after this call will be skipped.

Type declaration

    • (): void
    • Mark tests as skipped. All execution after this call will be skipped.

      Returns void

task: Readonly<Task>

Metadata of the current test

Generated using TypeDoc