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

Function createContext

apps/sim/executor/utils/block-reference.test.ts:12–19  ·  view source on GitHub ↗
(
    overrides: Partial<BlockReferenceContext> = {}
  )

Source from the content-addressed store, hash-verified

10
11describe('resolveBlockReference', () => {
12 const createContext = (
13 overrides: Partial<BlockReferenceContext> = {}
14 ): BlockReferenceContext => ({
15 blockNameMapping: { start: 'block-1', agent: 'block-2' },
16 blockData: {},
17 blockOutputSchemas: {},
18 ...overrides,
19 })
20
21 describe('block name resolution', () => {
22 it('should return undefined when block name does not exist', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected