MCPcopy
hub / github.com/calcom/cal.diy / set

Function set

packages/testing/src/lib/__mocks__/prisma.ts:64–70  ·  view source on GitHub ↗
(target, prop, value)

Source from the content-addressed store, hash-verified

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
73vi.mock("@calcom/prisma", async (importOriginal) => {

Callers 8

store.tsFile · 0.50
createTimezoneBuddyStoreFunction · 0.50
createTestStoreFunction · 0.50
onboardingStore.tsFile · 0.50

Calls

no outgoing calls

Tested by 1

createTestStoreFunction · 0.40