Skip to content

Commit 58abba1

Browse files
authored
chore: add snapshot for KeepAlive children tests
1 parent 439377b commit 58abba1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`compiler: element transform <KeepAlive> multiple children should ignore comments 1`] = `
4+
"const { createCommentVNode: _createCommentVNode, resolveDynamicComponent: _resolveDynamicComponent, openBlock: _openBlock, createBlock: _createBlock, KeepAlive: _KeepAlive } = Vue
5+
6+
return function render(_ctx, _cache) {
7+
return (_openBlock(), _createBlock(_KeepAlive, null, [
8+
(_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.activeComponent)))
9+
], 1024 /* DYNAMIC_SLOTS */))
10+
}"
11+
`;

0 commit comments

Comments
 (0)