{ if (isMockEnabled) { flowModule.mock = { enabled: false, return_value: flowModule.mock?.return_value } } else { flowModule.mock = { enabled: true, return_value: flowModule.mock?.return_value ?? { example: 'value' } } code = JSON.stringify(flowModule.mock?.return_value, null, 2) } }} options={{ right: 'Pin output', rightTooltip: 'While pinned, the step returns this value immediately instead of executing. The same control lives on the step in the graph.' }} /> {#if isMockEnabled}
{/if}