diff --git a/test/js/samples/non-mutable-reference/expected.js b/test/js/samples/non-mutable-reference/expected.js index 57f6f3fea1..7e83850226 100644 --- a/test/js/samples/non-mutable-reference/expected.js +++ b/test/js/samples/non-mutable-reference/expected.js @@ -1,8 +1,8 @@ /* generated by Svelte vX.Y.Z */ -import { SvelteComponent as SvelteComponent_1, append, createElement, createText, detachNode, init, insert, noop, run, safe_not_equal } from "svelte/internal"; +import { SvelteComponent as SvelteComponent_1, append, createElement, createText, detachNode, init, insert, noop, safe_not_equal } from "svelte/internal"; function create_fragment($$, ctx) { - var h1, text0, text1, text2, current; + var h1, text0, text1, text2; return { c() { @@ -17,17 +17,11 @@ function create_fragment($$, ctx) { append(h1, text0); append(h1, text1); append(h1, text2); - current = true; }, p: noop, - - i(target, anchor) { - if (current) return; - this.m(target, anchor); - }, - - o: run, + i: noop, + o: noop, d(detach) { if (detach) { diff --git a/test/runtime/samples/component-slot-used-with-default-event/_config.js b/test/runtime/samples/component-slot-used-with-default-event/_config.js index 4a174a9a05..174d01f1a5 100644 --- a/test/runtime/samples/component-slot-used-with-default-event/_config.js +++ b/test/runtime/samples/component-slot-used-with-default-event/_config.js @@ -1,3 +1,3 @@ export default { - html: '

Hello

', show: true + html: '

Hello

' };