From 775010cd2deb65d09f590dab356787eb0b7d15b8 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Wed, 15 May 2024 15:06:44 +0100 Subject: [PATCH] chore: Allow disabling email sending without errors (#15051) * chore: Allow disabling email sending without errors * Explicitly return null for some deps down the tree --- apps/web/playwright/fixtures/emails.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/playwright/fixtures/emails.ts b/apps/web/playwright/fixtures/emails.ts index 412f20af63..dff23ad339 100644 --- a/apps/web/playwright/fixtures/emails.ts +++ b/apps/web/playwright/fixtures/emails.ts @@ -3,7 +3,8 @@ import mailhog from "mailhog"; import { IS_MAILHOG_ENABLED } from "@calcom/lib/constants"; const unimplemented = () => { - throw new Error("Mailhog is not enabled"); + // throw new Error("Mailhog is not enabled"); + return null; }; const hasUUID = (query: string) => {