Hook

Hook

new Hook(title, fn)

Source:

Initialize a new Hook with the given title and callback fn

Parameters:
Name Type Description
title String
fn function

Extends

Methods

error(err) → {Error}

Source:

Get or set the test err.

Parameters:
Name Type Description
err Error
Returns:
Type
Error

reset()

Source:
Overrides:

Resets the state for a next run.