diff --git a/packages/svelte/tests/runtime-runes/samples/transition-evaluation/main.svelte b/packages/svelte/tests/runtime-runes/samples/transition-evaluation/main.svelte index cf4f5b664e..c8556887c2 100644 --- a/packages/svelte/tests/runtime-runes/samples/transition-evaluation/main.svelte +++ b/packages/svelte/tests/runtime-runes/samples/transition-evaluation/main.svelte @@ -2,11 +2,11 @@ const { visible = true, foo = 1 } = $props(); function bar(node, params) { - node.foo = params; + node.foo = params; return () => ({}); } {#if visible}
-{/if} \ No newline at end of file +{/if} diff --git a/packages/svelte/tests/runtime-runes/samples/transition-js-initial/_config.js b/packages/svelte/tests/runtime-runes/samples/transition-js-initial/_config.js deleted file mode 100644 index 1b85124ce8..0000000000 --- a/packages/svelte/tests/runtime-runes/samples/transition-js-initial/_config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { test } from '../../test'; - -export default test({ - test({ assert, component, target, raf }) { - component.visible = true; - - const div = /** @type {HTMLDivElement & { foo: number }} */ (target.querySelector('div')); - raf.tick(0); - assert.equal(div.foo, 0); - - raf.tick(50); - assert.equal(div.foo, 0.5); - } -}); diff --git a/packages/svelte/tests/runtime-runes/samples/transition-js-initial/main.svelte b/packages/svelte/tests/runtime-runes/samples/transition-js-initial/main.svelte deleted file mode 100644 index b5241688d4..0000000000 --- a/packages/svelte/tests/runtime-runes/samples/transition-js-initial/main.svelte +++ /dev/null @@ -1,16 +0,0 @@ - - -{#if visible} - -{/if} \ No newline at end of file