From d20e0646745cbc9d835b05b65077146105bc4130 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Mon, 29 Jul 2024 17:40:54 +0200 Subject: [PATCH] chore: enhance comment on skipped test explain what we need to unskip it --- .../samples/deferred-events-consistency-2/_config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/svelte/tests/runtime-runes/samples/deferred-events-consistency-2/_config.js b/packages/svelte/tests/runtime-runes/samples/deferred-events-consistency-2/_config.js index c15f5519e9..20b7bf30b5 100644 --- a/packages/svelte/tests/runtime-runes/samples/deferred-events-consistency-2/_config.js +++ b/packages/svelte/tests/runtime-runes/samples/deferred-events-consistency-2/_config.js @@ -2,7 +2,9 @@ import { flushSync } from 'svelte'; import { test } from '../../test'; export default test({ - skip: true, // need to make a browser test of this because calling click() sync will not let Svelte yield + // currently not testable in our test suide: click() will synchronously call submit which is not the case in a real browser + // (moving this test to runtime-browser doesn't help either for some reason) + skip: true, async test({ assert, target, logs }) { const [b1] = target.querySelectorAll('button');