Skip to content

Commit c9ea2bb

Browse files
committed
test: update snap
1 parent 26e085d commit c9ea2bb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/compiler-vapor/__tests__/transforms/__snapshots__/transformChildren.spec.ts.snap

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ export function render(_ctx) {
2323
`;
2424

2525
exports[`compiler: children transform > efficient find 1`] = `
26-
"import { child as _child, children as _children, setText as _setText, renderEffect as _renderEffect, template as _template } from 'vue';
27-
const t0 = _template("<div><div>x</div><div>x</div><div></div></div>", true)
26+
"import { child as _child, children as _children, toDisplayString as _toDisplayString, setText as _setText, renderEffect as _renderEffect, template as _template } from 'vue';
27+
const t0 = _template("<div><div>x</div><div>x</div><div> </div></div>", true)
2828
2929
export function render(_ctx) {
3030
const n1 = t0()
3131
const n0 = _children(n1, 2)
32-
_renderEffect(() => _setText(n0, _ctx.msg))
32+
const x0 = _child(n0)
33+
_renderEffect(() => _setText(x0, _toDisplayString(_ctx.msg)))
3334
return n1
3435
}"
3536
`;

0 commit comments

Comments
 (0)