Fixes
parent
c4d4dbd2b5
commit
2f606afa70
|
@ -403,7 +403,7 @@ export function createBookingScenario(data: ScenarioData) {
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
prismaMock.$transaction.mockImplementation(() => {
|
prismaMock.$transaction.mockImplementation(() => {
|
||||||
console.log("Mock Noop - $transaction");
|
logger.silly("Mock Noop - $transaction");
|
||||||
});
|
});
|
||||||
|
|
||||||
const eventType = addEventTypes(data.eventTypes, data.users);
|
const eventType = addEventTypes(data.eventTypes, data.users);
|
||||||
|
@ -452,6 +452,7 @@ export function createBookingScenario(data: ScenarioData) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function addPaymentMock() {
|
function addPaymentMock() {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
const payments: any[] = (MOCK_DB.payments = []);
|
const payments: any[] = (MOCK_DB.payments = []);
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
|
@ -511,7 +511,6 @@ describe('Event Type that requires confirmation', () => {
|
||||||
const organizer = TestData.users.example;
|
const organizer = TestData.users.example;
|
||||||
|
|
||||||
createBookingScenario( {
|
createBookingScenario( {
|
||||||
hosts: [],
|
|
||||||
eventTypes: [
|
eventTypes: [
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
|
|
Loading…
Reference in New Issue