(target, prop, value)
| 62 | return Reflect.ownKeys(prismockInstance); |
| 63 | }, |
| 64 | set(target, prop, value) { |
| 65 | if (!prismockInstance) { |
| 66 | throw new Error("Prismock not initialized yet"); |
| 67 | } |
| 68 | (target as any)[prop] = value; |
| 69 | return true; |
| 70 | }, |
| 71 | }); |
| 72 | |
| 73 | vi.mock("@calcom/prisma", async (importOriginal) => { |
no outgoing calls