UNPKG

cypress-terminal-report

Version:

Better terminal and file output for cypress test logs.

17 lines (16 loc) 657 B
import type { Failure } from 'superstruct'; declare const utils: { nonQueueTask: (name: string, data: Record<string, any>) => Promise<void>; jsonStringify(value: any, format?: boolean): string; validatorErrToStr: (errorList: Failure[]) => string; /** * The Cypress GUI runner allows markdown in `cy.log` messages. We can take this * into account for our loggers as well. */ applyMessageMarkdown(message: string, { bold, italic, processContents, }: { bold: (str: string) => string; italic: (str: string) => string; processContents?: (str: string) => string; }): string; }; export default utils;