Skip to main content

interface HookOptions

Configuration options for hooks.

Properties #

#signal: AbortSignal | undefined
optional

Allows aborting an in-progress hook.

#timeout: number | undefined
optional

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

Did you find what you needed?

Privacy policy