Skip to content

Commit b4c6a9e

Browse files
committed
add comment
1 parent 02876d3 commit b4c6a9e

File tree

1 file changed

+2
-0
lines changed
  • packages/svelte/tests/runtime-runes/samples/effect-order-7

1 file changed

+2
-0
lines changed

packages/svelte/tests/runtime-runes/samples/effect-order-7/_config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export default test({
1212
const [open, close] = target.querySelectorAll('button');
1313

1414
flushSync(() => open.click());
15+
16+
// if the effect queue isn't aborted after the state change, this will throw
1517
flushSync(() => close.click());
1618
}
1719
});

0 commit comments

Comments
 (0)