{#if scriptProgress} {/if} { mod.mock = detail $flowStore = $flowStore }} mock={mod.mock} bind:forceJson bind:selectedJob isLoading={(testIsLoading && !scriptProgress) || fetchingLastJob} bind:preview path={`path` in mod.value ? mod.value.path : ''} {loopStatus} {disableMock} {disableHistory} > {#if lang && editor && diffEditor && $testStepStore[mod.id] && selectedJob && 'result' in selectedJob && selectedJob.result && typeof selectedJob.result == 'object' && `error` in selectedJob.result && selectedJob.result.error} {/if} {#if (mod.mock?.enabled && preview != 'job') || preview == 'mock'} {:else} {/if}