Scheduling infrastructure for absolutely everyone.
fix: random test failure when booking are on same date (#10581)
Omar López710bfc0d7e71
diff --git a/apps/web/test/lib/team-event-types.test.ts b/apps/web/test/lib/team-event-types.test.tsindex 4e5506f5c0a..608fc151f42 100644--- a/apps/web/test/lib/team-event-types.test.ts+++ b/apps/web/test/lib/team-event-types.test.ts@@ -13,18 +13,21 @@ it("can find lucky user with maximize availability", async () => {email: "[email protected]",bookings: [{- createdAt: new Date("2022-01-25"),+ createdAt: new Date("2022-01-25T05:30:00.000Z"),+ },+ {+ createdAt: new Date("2022-01-25T06:30:00.000Z"),},],});const user2 = buildUser({- id: 1,- username: "test",- name: "Test User",- email: "[email protected]",+ id: 2,+ username: "test2",+ name: "Test User 2",+ email: "[email protected]",bookings: [{- createdAt: new Date("2022-01-25"),+ createdAt: new Date("2022-01-25T04:30:00.000Z"),},],});