prettier-playwright-msteams-report
Version:
A modified version of the Playwright MS Teams Messager
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;