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

Function buildContext

apps/sim/lib/copilot/request/tools/tables.test.ts:59–67  ·  view source on GitHub ↗
(overrides: Partial<ExecutionContext> = {})

Source from the content-addressed store, hash-verified

57}
58
59function buildContext(overrides: Partial<ExecutionContext> = {}): ExecutionContext {
60 return {
61 userId: 'user-1',
62 workflowId: 'wf-1',
63 workspaceId: 'workspace-1',
64 userPermission: 'write',
65 ...overrides,
66 }
67}
68
69describe('maybeWriteOutputToTable', () => {
70 beforeEach(() => {

Callers 1

tables.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected