Class: FunctionCallsString

Errors.FunctionCallsString

Converts an ExpectedCall stack into a string.

Constructor

new FunctionCallsString(calls)

Parameters:
Name Type Description
calls ExpectedCall

ExpectedCalls to stringify

Source:

Methods

_completedCallsString(completedCalls) → {string}

Converts completed calls into a string.

Parameters:
Name Type Description
completedCalls Array.<ExpectedCall>
Source:
Returns:

Completed calls string.

Type
string

_incompleteCallsString(completedCalls) → {string}

Converts incomplete calls into a string.

Parameters:
Name Type Description
completedCalls Array.<ExpectedCall>
Source:
Returns:

Incomplete calls string.

Type
string

toString() → {string}

Returns ExpectedCalls string.

Source:
Returns:

ExpectedCalls as string.

Type
string