Fixes
parent
c4d4dbd2b5
commit
2f606afa70
|
@ -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
|
||||
|
|
|
@ -511,7 +511,6 @@ describe('Event Type that requires confirmation', () => {
|
|||
const organizer = TestData.users.example;
|
||||
|
||||
createBookingScenario( {
|
||||
hosts: [],
|
||||
eventTypes: [
|
||||
{
|
||||
id: 1,
|
||||
|
|
Loading…
Reference in New Issue