@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
14 lines (13 loc) • 490 B
text/typescript
/**
* Configuration options for [`Question.formattedValue`](https://serenity-js.org/api/core/class/Question/#formattedValue) and
* the [`the`](https://serenity-js.org/api/core/function/the/) function.
*
* @group Questions
*/
export interface DescriptionFormattingOptions {
/**
* The maximum length of the string representation of the value.
* String representations longer than this value will be truncated and appended with an ellipsis.
*/
maxLength: number;
}