PendingMarker

PendingMarker

I report pending tests to the test runner. Those tests will be displayed as WIP.

Constructor

new PendingMarker()

Source:

Methods

dueTo(reasonnon-null) → {void}

Indicates a test is not ready to be evaluated until the end to produce a final result, so it will be reported as a pending result. If no reason is provided, an error result will be reported instead.

Source:
Parameters:
Name Type Description
reason string

A required explanation to indicate why this test is not ready.

Returns:
Type:
void