diff --git a/packages/features/bookings/lib/handleNewBooking.test.ts b/packages/features/bookings/lib/handleNewBooking.test.ts index c3b9bdbf59..a2fb67a0ea 100644 --- a/packages/features/bookings/lib/handleNewBooking.test.ts +++ b/packages/features/bookings/lib/handleNewBooking.test.ts @@ -36,6 +36,8 @@ const timeout = process.env.CI ? 5000 : 20000; describe.sequential("handleNewBooking", () => { beforeEach(() => { + // Required to able to generate token in email in some cases + process.env.CALENDSO_ENCRYPTION_KEY="abcdefghjnmkljhjklmnhjklkmnbhjui" mockNoTranslations(); mockEnableEmailFeature(); globalThis.testEmails = [];