Skip to content

Scheduling infrastructure for absolutely everyone.

fix: one integration test flake (#25832)

Anik Dhabal Babu84a4dd414784
diff --git a/packages/features/insights/__tests__/booking-denormalized.integration-test.ts b/packages/features/insights/__tests__/booking-denormalized.integration-test.ts
index 7b7422e3439..b4ae385214e 100644
--- a/packages/features/insights/__tests__/booking-denormalized.integration-test.ts
+++ b/packages/features/insights/__tests__/booking-denormalized.integration-test.ts
@@ -170,7 +170,7 @@ describe("BookingDenormalized", () => {
expect(eventTypeDeletedDenormalizedBooking.eventLength).toBeNull();
// Clean up the additional booking
- await prisma.booking.delete({
+ await prisma.booking.deleteMany({
where: { id: booking2.id },
});
});