Skip to content

HookOptions

type HookOptions = HookOptions
AssemblyXantham.Fable.Node

Configuration options for hooks.

@since v18.8.0

Properties

abstract member signal: AbortSignal option with get, set

Allows aborting an in-progress hook.

abstract member timeout: float option with get, set

A number of milliseconds the hook will fail after. If unspecified, subtests inherit this value from their parent.