update tests

pull/12215/head
Rich Harris 4 months ago
parent 8740448a74
commit 88eb2e113c

@ -3,7 +3,7 @@ import * as $ from "svelte/internal/client";
import TextInput from './Child.svelte'; import TextInput from './Child.svelte';
var root_1 = $.template(`Something`, 1); var root_1 = $.template(`Something`, 1);
var root = $.template(`<!> `, 1); var root = $.template(`<!> `, 5);
export default function Bind_component_snippet($$anchor) { export default function Bind_component_snippet($$anchor) {
var snippet = ($$anchor) => { var snippet = ($$anchor) => {

@ -2,7 +2,7 @@ import "svelte/internal/disclose-version";
import * as $ from "svelte/internal/client"; import * as $ from "svelte/internal/client";
export default function Bind_this($$anchor) { export default function Bind_this($$anchor) {
var fragment = $.comment(); var fragment = $.comment(5);
var node = $.first_child(fragment); var node = $.first_child(fragment);
$.bind_this(Foo(node, { $$legacy: true }), ($$value) => foo = $$value, () => foo); $.bind_this(Foo(node, { $$legacy: true }), ($$value) => foo = $$value, () => foo);

@ -2,7 +2,7 @@ import "svelte/internal/disclose-version";
import * as $ from "svelte/internal/client"; import * as $ from "svelte/internal/client";
export default function Each_string_template($$anchor) { export default function Each_string_template($$anchor) {
var fragment = $.comment(); var fragment = $.comment(1);
var node = $.first_child(fragment); var node = $.first_child(fragment);
$.each(node, 1, () => ['foo', 'bar', 'baz'], $.index, ($$anchor, thing, $$index) => { $.each(node, 1, () => ['foo', 'bar', 'baz'], $.index, ($$anchor, thing, $$index) => {

@ -9,7 +9,7 @@ export default function Function_prop_no_getter($$anchor) {
} }
const plusOne = (num) => num + 1; const plusOne = (num) => num + 1;
var fragment = $.comment(); var fragment = $.comment(5);
var node = $.first_child(fragment); var node = $.first_child(fragment);
Button(node, { Button(node, {

@ -30,4 +30,4 @@ export default function State_proxy_literal($$anchor) {
$.append($$anchor, fragment); $.append($$anchor, fragment);
} }
$.delegate(["click"]); $.delegate(["click"]);

@ -3,7 +3,7 @@ import * as $ from "svelte/internal/client";
export default function Svelte_element($$anchor, $$props) { export default function Svelte_element($$anchor, $$props) {
let tag = $.prop($$props, "tag", 3, 'hr'); let tag = $.prop($$props, "tag", 3, 'hr');
var fragment = $.comment(); var fragment = $.comment(1);
var node = $.first_child(fragment); var node = $.first_child(fragment);
$.element(node, tag, false); $.element(node, tag, false);

Loading…
Cancel
Save