UNPKG

prettier-playwright-msteams-report

Version:
14 lines (13 loc) 579 B
/** * Retrieves mentions from a string and returns an object containing the message and mentions. * @param mentionOnFailure - The string containing the mentions. * @param mentionOnFailureText - Optional text to replace the mention placeholder in the message. * @returns An object containing the message and mentions, or undefined if no mentions are found. */ export declare const getMentions: (mentionOnFailure: string | undefined, mentionOnFailureText?: string) => { message: string; mentions: { name: string; email: string; }[]; } | undefined;