Hook

Hook

new Hook(title, fn)

Source:

Initialize a new Hook with the given title and callback fn

Parameters:
NameTypeDescription
titleString
fnfunction

Extends

Methods

error(err) → {Error}

Source:

Get or set the test err.

Parameters:
NameTypeDescription
errError
Returns:
Type
Error

reset()

Source:
Overrides:

Resets the state for a next run.