MCPcopy Index your code
hub / github.com/simstudioai/sim / ctx

Function ctx

apps/sim/executor/handlers/pi/pi-handler.test.ts:39–46  ·  view source on GitHub ↗
(overrides: Partial<ExecutionContext> = {})

Source from the content-addressed store, hash-verified

37const block = { id: 'blk', metadata: { id: 'pi' } } as unknown as SerializedBlock
38
39function ctx(overrides: Partial<ExecutionContext> = {}): ExecutionContext {
40 return {
41 workflowId: 'wf',
42 workspaceId: 'ws',
43 userId: 'user',
44 ...overrides,
45 } as ExecutionContext
46}
47
48function localInputs(extra: Record<string, unknown> = {}) {
49 return {

Callers 1

pi-handler.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected