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

Function makeEntry

apps/sim/stores/terminal/console/utils.test.ts:13–24  ·  view source on GitHub ↗
(id: string, executionId: string, workflowId = 'wf-1')

Source from the content-addressed store, hash-verified

11} from './utils'
12
13function makeEntry(id: string, executionId: string, workflowId = 'wf-1'): ConsoleEntry {
14 return {
15 id,
16 executionId,
17 workflowId,
18 blockId: `block-${id}`,
19 blockName: `Block ${id}`,
20 blockType: 'function',
21 executionOrder: Number.parseInt(id.replace(/\D/g, ''), 10) || 0,
22 timestamp: '2025-01-01T00:00:00.000Z',
23 }
24}
25
26describe('terminal console utils', () => {
27 it('safely stringifies circular values', () => {

Callers 1

utils.test.tsFile · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected