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

Function buildContext

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

Source from the content-addressed store, hash-verified

109
110describe('maybeWriteOutputToFile', () => {
111 function buildContext(overrides: Partial<ExecutionContext> = {}): ExecutionContext {
112 return {
113 userId: 'user-1',
114 workflowId: 'wf-1',
115 workspaceId: 'workspace-1',
116 userPermission: 'write',
117 ...overrides,
118 }
119 }
120
121 beforeEach(() => {
122 vi.clearAllMocks()

Callers 1

files.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected