File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/svelte/tests/snapshot/samples/function-prop-no-getter/_expected Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ export default function Function_prop_no_getter($$anchor) {
15
15
onmouseup,
16
16
onmouseenter : ( ) => $ . set ( count , $ . proxy ( plusOne ( $ . get ( count ) ) ) ) ,
17
17
children : ( $$anchor , $$slotProps ) => {
18
+ $ . next ( ) ;
19
+
18
20
var text = $ . text ( ) ;
19
21
20
22
$ . template_effect ( ( ) => $ . set_text ( text , `clicks: ${ $ . get ( count ) ?? "" } ` ) ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default function Function_prop_no_getter($$payload) {
14
14
onmouseup,
15
15
onmouseenter : ( ) => count = plusOne ( count ) ,
16
16
children : ( $$payload , $$slotProps ) => {
17
- $$payload . out += `clicks: ${ $ . escape ( count ) } ` ;
17
+ $$payload . out += `<!----> clicks: ${ $ . escape ( count ) } ` ;
18
18
} ,
19
19
$$slots : { default : true }
20
20
} ) ;
You can’t perform that action at this time.
0 commit comments