From b4c6a9e8e5c137c12dfcfcd6cbc142bf8903f23d Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 22 Jul 2025 12:50:33 -0400 Subject: [PATCH] add comment --- .../tests/runtime-runes/samples/effect-order-7/_config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/svelte/tests/runtime-runes/samples/effect-order-7/_config.js b/packages/svelte/tests/runtime-runes/samples/effect-order-7/_config.js index 7d7519d113..f0a9c2e867 100644 --- a/packages/svelte/tests/runtime-runes/samples/effect-order-7/_config.js +++ b/packages/svelte/tests/runtime-runes/samples/effect-order-7/_config.js @@ -12,6 +12,8 @@ export default test({ const [open, close] = target.querySelectorAll('button'); flushSync(() => open.click()); + + // if the effect queue isn't aborted after the state change, this will throw flushSync(() => close.click()); } });