new Test(title, fnopt)
Initialize a new Test
with the given title
and callback fn
.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
title | String | Test title (required) | |
fn | function | <optional> | Test callback. If omitted, the Test is considered "pending" |
Extends
Methods
reset()
- Source:
- Overrides:
Resets the state initially or for a next run.