Runnable

Runnable

new Runnable(title, fn)

Source:

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

Parameters:
Name Type Description
title String
fn function

Extends

Members

(static, readonly) constants :string

Source:
Properties:
Name Type Description
STATE_FAILED string

Value of state prop when a Runnable has failed

STATE_PASSED string

Value of state prop when a Runnable has passed

STATE_PENDING string

Value of state prop when a Runnable has been skipped by user

Runnable-related constants.

Type:
  • string

Methods

reset()

Source:

Resets the state initially or for a next run.