Skip to content

Scheduling infrastructure for absolutely everyone.

fix: unit tests failing on destination calendar missing timestamps (#22292)

Morgan585a12fa48e9
diff --git a/packages/app-store/googlecalendar/lib/__tests__/CalendarService.test.ts b/packages/app-store/googlecalendar/lib/__tests__/CalendarService.test.ts
index 08851e4ff6e..423877fa826 100644
--- a/packages/app-store/googlecalendar/lib/__tests__/CalendarService.test.ts
+++ b/packages/app-store/googlecalendar/lib/__tests__/CalendarService.test.ts
@@ -1552,6 +1552,8 @@ describe("createEvent", () => {
credentialId: credential.id,
delegationCredentialId: null,
domainWideDelegationCredentialId: null,
+ createdAt: new Date("2024-06-15T11:00:00Z"),
+ updatedAt: new Date("2024-06-15T11:00:00Z"),
},
],
iCalUID: "[email protected]",
@@ -1725,6 +1727,8 @@ describe("createEvent", () => {
credentialId: credential.id,
delegationCredentialId: null,
domainWideDelegationCredentialId: null,
+ createdAt: new Date("2024-06-15T11:00:00Z"),
+ updatedAt: new Date("2024-06-15T11:00:00Z"),
},
],
calendarDescription: "Weekly team meeting",