playwright-msteams-reporter-conditional
Version:
Microsoft Teams reporter for Playwright which allows you to send notifications about the status of your E2E tests.
10 lines (9 loc) • 382 B
TypeScript
import { WebhookType } from "../models";
/**
* Validates a webhook URL to ensure it meets the required format.
*
* @param webhookUrl - The webhook URL to validate.
* @param type - The type of webhook to validate.
* @returns A boolean indicating whether the webhook URL is valid.
*/
export declare const validateWebhookUrl: (webhookUrl: string, type?: WebhookType) => boolean;