From 2f606afa70b2ceaa49d57e70887957edc8080d04 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Thu, 7 Sep 2023 13:36:16 +0530 Subject: [PATCH] Fixes --- apps/web/test/utils/bookingScenario/bookingScenario.ts | 3 ++- packages/features/bookings/lib/handleNewBooking.test.ts | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/test/utils/bookingScenario/bookingScenario.ts b/apps/web/test/utils/bookingScenario/bookingScenario.ts index b20ded0b87..0a5e77bc7e 100644 --- a/apps/web/test/utils/bookingScenario/bookingScenario.ts +++ b/apps/web/test/utils/bookingScenario/bookingScenario.ts @@ -403,7 +403,7 @@ export function createBookingScenario(data: ScenarioData) { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore prismaMock.$transaction.mockImplementation(() => { - console.log("Mock Noop - $transaction"); + logger.silly("Mock Noop - $transaction"); }); const eventType = addEventTypes(data.eventTypes, data.users); @@ -452,6 +452,7 @@ export function createBookingScenario(data: ScenarioData) { } function addPaymentMock() { + // eslint-disable-next-line @typescript-eslint/no-explicit-any const payments: any[] = (MOCK_DB.payments = []); // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore diff --git a/packages/features/bookings/lib/handleNewBooking.test.ts b/packages/features/bookings/lib/handleNewBooking.test.ts index 67a7536935..0823926fee 100644 --- a/packages/features/bookings/lib/handleNewBooking.test.ts +++ b/packages/features/bookings/lib/handleNewBooking.test.ts @@ -511,7 +511,6 @@ describe('Event Type that requires confirmation', () => { const organizer = TestData.users.example; createBookingScenario( { - hosts: [], eventTypes: [ { id: 1,