Skip to main content

Function: asyncDefaultReportMessage()

Call Signature

asyncDefaultReportMessage<Ts>(out): Promise<undefined>

Defined in: packages/fast-check/src/check/runner/utils/RunDetailsFormatter.ts:233

Format output of check using the default error reporting of assert

Produce a string containing the formated error in case of failed run, undefined otherwise.

Type Parameters

Type Parameter
Ts

Parameters

ParameterType
outRunDetails<Ts> & object

Returns

Promise<undefined>

Remarks

Since 2.17.0

Call Signature

asyncDefaultReportMessage<Ts>(out): Promise<string>

Defined in: packages/fast-check/src/check/runner/utils/RunDetailsFormatter.ts:243

Format output of check using the default error reporting of assert

Produce a string containing the formated error in case of failed run, undefined otherwise.

Type Parameters

Type Parameter
Ts

Parameters

ParameterType
outRunDetails<Ts> & object

Returns

Promise<string>

Remarks

Since 2.17.0

Call Signature

asyncDefaultReportMessage<Ts>(out): Promise<string | undefined>

Defined in: packages/fast-check/src/check/runner/utils/RunDetailsFormatter.ts:253

Format output of check using the default error reporting of assert

Produce a string containing the formated error in case of failed run, undefined otherwise.

Type Parameters

Type Parameter
Ts

Parameters

ParameterType
outRunDetails<Ts>

Returns

Promise<string | undefined>

Remarks

Since 2.17.0