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

Function createTestManifest

apps/sim/executor/variables/resolver.test.ts:39–64  ·  view source on GitHub ↗
(totalCount = 100_000)

Source from the content-addressed store, hash-verified

37}
38
39function createTestManifest(totalCount = 100_000): LargeArrayManifest {
40 return {
41 __simLargeArrayManifest: true,
42 version: LARGE_ARRAY_MANIFEST_VERSION,
43 kind: 'array',
44 totalCount,
45 chunkCount: 1,
46 byteSize: 12 * 1024 * 1024,
47 chunks: [
48 {
49 count: totalCount,
50 byteSize: 12 * 1024 * 1024,
51 ref: {
52 __simLargeValueRef: true,
53 version: 1,
54 id: 'lv_ABCDEFGHIJKL',
55 kind: 'array',
56 size: 12 * 1024 * 1024,
57 key: 'execution/workspace-1/workflow-1/execution-1/large-value-lv_ABCDEFGHIJKL.json',
58 executionId: 'execution-1',
59 },
60 },
61 ],
62 preview: [{ key: 'SIM-0' }],
63 }
64}
65
66function createResolver(
67 language = 'javascript',

Callers 1

resolver.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected