payment-booking-requested-webhook
Hariom Balhara 2023-09-07 13:36:16 +05:30
parent c4d4dbd2b5
commit 2f606afa70
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -511,7 +511,6 @@ describe('Event Type that requires confirmation', () => {
const organizer = TestData.users.example;
createBookingScenario( {
hosts: [],
eventTypes: [
{
id: 1,