From 4d8c4b5c9bf07edbde76475d1408bb64bc6278f3 Mon Sep 17 00:00:00 2001 From: MehulZR Date: Wed, 22 Jan 2025 03:45:41 +0530 Subject: [PATCH] test: fixing handleChildrenEventTypes.test.ts --- apps/web/test/lib/handleChildrenEventTypes.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/web/test/lib/handleChildrenEventTypes.test.ts b/apps/web/test/lib/handleChildrenEventTypes.test.ts index 3edfde66d7c93d..c271fc0b626984 100644 --- a/apps/web/test/lib/handleChildrenEventTypes.test.ts +++ b/apps/web/test/lib/handleChildrenEventTypes.test.ts @@ -114,6 +114,7 @@ describe("handleChildrenEventTypes", () => { useEventTypeDestinationCalendarEmail, secondaryEmailId, autoTranslateDescriptionEnabled, + userInterfaceLanguage, ...evType } = mockFindFirstEventType({ id: 123, @@ -169,6 +170,7 @@ describe("handleChildrenEventTypes", () => { lockTimeZoneToggleOnBookingPage, useEventTypeDestinationCalendarEmail, secondaryEmailId, + userInterfaceLanguage, ...evType } = mockFindFirstEventType({ metadata: { managedEventConfig: {} }, @@ -273,6 +275,7 @@ describe("handleChildrenEventTypes", () => { useEventTypeDestinationCalendarEmail, secondaryEmailId, autoTranslateDescriptionEnabled, + userInterfaceLanguage, ...evType } = mockFindFirstEventType({ id: 123, @@ -329,6 +332,7 @@ describe("handleChildrenEventTypes", () => { lockTimeZoneToggleOnBookingPage, useEventTypeDestinationCalendarEmail, secondaryEmailId, + userInterfaceLanguage, ...evType } = mockFindFirstEventType({ metadata: { managedEventConfig: {} }, @@ -392,6 +396,7 @@ describe("handleChildrenEventTypes", () => { useEventTypeDestinationCalendarEmail, secondaryEmailId, autoTranslateDescriptionEnabled, + userInterfaceLanguage, ...evType } = mockFindFirstEventType({ metadata: { managedEventConfig: {} }, @@ -418,6 +423,7 @@ describe("handleChildrenEventTypes", () => { workflows: [], parentId: 1, locations: [], + userInterfaceLanguage: null, ...evType, };