Test

Test

new Test(title, fnopt)

Source:

Initialize a new Test with the given title and callback fn.

Parameters:
NameTypeAttributesDescription
titleString

Test title (required)

fnfunction<optional>

Test callback. If omitted, the Test is considered "pending"

Extends

Methods

reset()

Source:
Overrides:

Resets the state initially or for a next run.