prettier-playwright-msteams-report
Version:
A modified version of the Playwright MS Teams Messager
14 lines (13 loc) • 579 B
TypeScript
/**
* 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;