formatReport()
formatReport(
report,format,options?):string
Defined in: eval/src/format.ts:433
Format a report. Every string is normalized first: line breaks fold to a space and control and bidi characters go, in all four formats, on and off a terminal. JSON and Markdown print one document; Markdown shows model text only inside code spans; JUnit is XML 1.0 safe.
Parameters
report
The report
format
text, json, markdown or junit
options?
FormatOptions = {}
color for the text format, missing baseline entries
Returns
string
The document, ending with a newline