MCPcopy
hub / github.com/midday-ai/midday / get

Function get

apps/api/src/__tests__/setup.ts:254–261  ·  view source on GitHub ↗
(target, prop)

Source from the content-addressed store, hash-verified

252 } as Record<string, any>,
253 {
254 get(target, prop) {
255 if (prop in target) {
256 return target[prop as string];
257 }
258 // Return a default mock for any unspecified export
259 target[prop as string] = createDefaultMock();
260 return target[prop as string];
261 },
262 },
263);
264

Callers 7

createWidgetStoreFunction · 0.50
metrics-filter.tsFile · 0.50
transactions.tsFile · 0.50
inbox.tsFile · 0.50
timer.tsFile · 0.50
chat.tsFile · 0.50
pending-uploads.tsFile · 0.50

Calls 1

createDefaultMockFunction · 0.85

Tested by

no test coverage detected