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

Function serializeCondition

apps/sim/blocks/blocks.test.ts:893–896  ·  view source on GitHub ↗

* Helper to serialize a condition for comparison

(condition: unknown)

Source from the content-addressed store, hash-verified

891 * Helper to serialize a condition for comparison
892 */
893 function serializeCondition(condition: unknown): string {
894 if (!condition) return ''
895 return JSON.stringify(condition)
896 }
897
898 it('should not have canonicalParamId that matches any subBlock id within the same block', () => {
899 const blocks = getAllBlocks()

Callers 1

blocks.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected