HookOptions

sealed external interface HookOptions(source)

Configuration options for hooks.

Since

v18.8.0

Properties

Link copied to clipboard
abstract var signal: AbortSignal?

Allows aborting an in-progress hook.

Link copied to clipboard
abstract var timeout: Double?

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