Skip to content

Commit 403b17e

Browse files
committed
chore: update snapshots
1 parent 132ea2b commit 403b17e

File tree

4 files changed

+6
-6
lines changed
  • packages/svelte/tests/snapshot/samples

4 files changed

+6
-6
lines changed

packages/svelte/tests/snapshot/samples/bind-component-snippet/_expected/client-functional/index.svelte.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function Bind_component_snippet($$anchor) {
3434
return $.get(value);
3535
},
3636
set value($$value) {
37-
$.set(value, $.proxy($$value));
37+
$.set(value, $$value, true);
3838
}
3939
});
4040

packages/svelte/tests/snapshot/samples/class-state-field-constructor-assignment/_expected/client-functional/index.svelte.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ export default function Class_state_field_constructor_assignment($$anchor, $$pro
1212
}
1313

1414
set a(value) {
15-
$.set(this.#a, $.proxy(value));
15+
$.set(this.#a, value, true);
1616
}
1717

1818
#b = $.state();
1919

2020
constructor() {
2121
this.a = 1;
22-
this.#b.v = 2;
22+
$.set(this.#b, 2);
2323
}
2424
}
2525

packages/svelte/tests/snapshot/samples/destructured-assignments/_expected/client-functional/index.svelte.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ let d = 4;
88

99
export function update(array) {
1010
(
11-
$.set(a, $.proxy(array[0])),
12-
$.set(b, $.proxy(array[1]))
11+
$.set(a, array[0], true),
12+
$.set(b, array[1], true)
1313
);
1414

1515
[c, d] = array;

packages/svelte/tests/snapshot/samples/function-prop-no-getter/_expected/client-functional/index.svelte.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function Function_prop_no_getter($$anchor) {
1313
Button($$anchor, {
1414
onmousedown: () => $.set(count, $.get(count) + 1),
1515
onmouseup,
16-
onmouseenter: () => $.set(count, $.proxy(plusOne($.get(count)))),
16+
onmouseenter: () => $.set(count, plusOne($.get(count)), true),
1717
children: ($$anchor, $$slotProps) => {
1818
$.next();
1919

0 commit comments

Comments
 (0)