UNPKG

playwright-msteams-reporter-conditional

Version:

Microsoft Teams reporter for Playwright which allows you to send notifications about the status of your E2E tests.

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;