Skip to content

Commit 804d223

Browse files
committed
fix the test, so that it fails correctly
1 parent 5bc6b56 commit 804d223

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • packages/svelte/tests/runtime-runes/samples/store-unsubscribe-not-referenced-after-2

packages/svelte/tests/runtime-runes/samples/store-unsubscribe-not-referenced-after-2/main.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
{#if watcherA}
2020
<!-- make sure the presence of async work doesn't break the `legacy_updates` mechanism -->
21-
{await 'hello'}
21+
{#if true}
22+
{await 'hello'}
23+
{/if}
2224

2325
{$watcherA}
2426
<button on:click={() => watcherA = null}>remove watcher</button>

0 commit comments

Comments
 (0)