Skip to content

Commit

Permalink
test: fixing handleChildrenEventTypes.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
MehulZR committed Jan 21, 2025
1 parent 2c2c6c4 commit 4d8c4b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/web/test/lib/handleChildrenEventTypes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ describe("handleChildrenEventTypes", () => {
useEventTypeDestinationCalendarEmail,
secondaryEmailId,
autoTranslateDescriptionEnabled,
userInterfaceLanguage,
...evType
} = mockFindFirstEventType({
id: 123,
Expand Down Expand Up @@ -169,6 +170,7 @@ describe("handleChildrenEventTypes", () => {
lockTimeZoneToggleOnBookingPage,
useEventTypeDestinationCalendarEmail,
secondaryEmailId,
userInterfaceLanguage,
...evType
} = mockFindFirstEventType({
metadata: { managedEventConfig: {} },
Expand Down Expand Up @@ -273,6 +275,7 @@ describe("handleChildrenEventTypes", () => {
useEventTypeDestinationCalendarEmail,
secondaryEmailId,
autoTranslateDescriptionEnabled,
userInterfaceLanguage,
...evType
} = mockFindFirstEventType({
id: 123,
Expand Down Expand Up @@ -329,6 +332,7 @@ describe("handleChildrenEventTypes", () => {
lockTimeZoneToggleOnBookingPage,
useEventTypeDestinationCalendarEmail,
secondaryEmailId,
userInterfaceLanguage,
...evType
} = mockFindFirstEventType({
metadata: { managedEventConfig: {} },
Expand Down Expand Up @@ -392,6 +396,7 @@ describe("handleChildrenEventTypes", () => {
useEventTypeDestinationCalendarEmail,
secondaryEmailId,
autoTranslateDescriptionEnabled,
userInterfaceLanguage,
...evType
} = mockFindFirstEventType({
metadata: { managedEventConfig: {} },
Expand All @@ -418,6 +423,7 @@ describe("handleChildrenEventTypes", () => {
workflows: [],
parentId: 1,
locations: [],
userInterfaceLanguage: null,
...evType,
};

Expand Down

0 comments on commit 4d8c4b5

Please sign in to comment.