+ {#if !testResult}
+
No events yet. Click Run test to execute the script.
+ {:else}
+ {#each testResult.entries ?? [] as entry}
+
+ {#if entry.type === 'event'}
+ [{entry.time?.slice(11, 23)}]
+ emit
+ {entry.key}
+ =
+ {JSON.stringify(entry.value)}
+ {:else if entry.type === 'info'}
+ [{entry.time?.slice(11, 23)}]
+ ℹ info
+ {entry.message}
+ {#if entry.data !== undefined && entry.data !== null}
+ {JSON.stringify(entry.data)}
+ {/if}
+ {:else if entry.type === 'done'}
+ [{entry.time?.slice(11, 23)}]
+ ✓ done
+ {:else}
+ [{entry.time?.slice(11, 23)}]
+ {entry.message}
+ {#if entry.data !== undefined && entry.data !== null}
+ {JSON.stringify(entry.data)}
+ {/if}
+ {/if}
+
+ {/each}
+ {/if}
+