MCPcopy Create free account
hub / github.com/simstudioai/sim / subBlocks

Function subBlocks

apps/sim/lib/workspaces/fork/remap/remap-references.test.ts:242–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240
241describe('remapForkSubBlocks', () => {
242 const subBlocks = (): SubBlockRecord => ({
243 credential: { id: 'credential', type: 'oauth-input', value: 'c-src' },
244 knowledgeBaseId: { id: 'knowledgeBaseId', type: 'knowledge-base-selector', value: 'kb-src' },
245 manualCredential: { id: 'manualCredential', type: 'short-input', value: 'mc-src' },
246 })
247
248 it('create mode: clears unresolved credentials and remaps copied resources', () => {
249 const result = remapForkSubBlocks(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected