Skip to content

Scheduling infrastructure for absolutely everyone.

chore: Allow disabling email sending without errors (#15051)

Alex van Andel775010cd2deb
diff --git a/apps/web/playwright/fixtures/emails.ts b/apps/web/playwright/fixtures/emails.ts
index 412f20af634..dff23ad339a 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) => {