Skip to content

Commit d486cf8

Browse files
committed
test: fix snaps
1 parent 61c8c9b commit d486cf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function render(_ctx) {
3333
`;
3434

3535
exports[`compiler: transition > the v-if/else-if/else branches in Transition should ignore comments 1`] = `
36-
"import { VaporTransition as _VaporTransition, createIf as _createIf, prepend as _prepend, createComponent as _createComponent, template as _template } from 'vue';
36+
"import { VaporTransition as _VaporTransition, setInsertionState as _setInsertionState, createIf as _createIf, createComponent as _createComponent, template as _template } from 'vue';
3737
const t0 = _template("<div>hey</div>")
3838
const t1 = _template("<p></p>")
3939
const t2 = _template("<div></div>")
@@ -51,14 +51,14 @@ export function render(_ctx) {
5151
return n5
5252
}, () => {
5353
const n14 = t2()
54+
_setInsertionState(n14, 0)
5455
const n9 = _createIf(() => (_ctx.c), () => {
5556
const n11 = t1()
5657
return n11
5758
}, () => {
5859
const n13 = t1()
5960
return n13
6061
})
61-
_prepend(n14, n9)
6262
n14.$key = 14
6363
return n14
6464
}))

0 commit comments

Comments
 (0)