Skip to content

Commit 2f32ed7

Browse files
committed
test: update snapshots
1 parent 8135d4c commit 2f32ed7

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

packages/compiler/__tests__/__snapshots__/index.spec.ts.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports[`compile works 1`] = `
55
66
return function render(_ctx, _cache) {
77
with (_ctx) {
8-
const { resolveComponent: _resolveComponent, createVNode: _createVNode, openBlock: _openBlock, createBlock: _createBlock, createCommentVNode: _createCommentVNode, ActionBar: _ActionBar, withCtx: _withCtx, renderList: _renderList, Fragment: _Fragment } = _Vue
8+
const { resolveComponent: _resolveComponent, openBlock: _openBlock, createBlock: _createBlock, createCommentVNode: _createCommentVNode, ActionBar: _ActionBar, withCtx: _withCtx, createVNode: _createVNode, renderList: _renderList, Fragment: _Fragment, createElementBlock: _createElementBlock } = _Vue
99
1010
const _component_ActionItem = _resolveComponent(\\"ActionItem\\")
1111
const _component_Label = _resolveComponent(\\"Label\\")
@@ -30,12 +30,12 @@ return function render(_ctx, _cache) {
3030
text: \\"Test Item\\"
3131
}))
3232
]),
33-
_: 1
33+
_: 1 /* STABLE */
3434
}),
3535
_createVNode(_component_StackLayout, null, {
3636
default: _withCtx(() => [
3737
_createCommentVNode(\\" Comment \\"),
38-
(_openBlock(true), _createBlock(_Fragment, null, _renderList(10, (i) => {
38+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(10, (i) => {
3939
return (_openBlock(), _createBlock(_component_Label, {
4040
key: i,
4141
onTap: onTap,
@@ -45,13 +45,13 @@ return function render(_ctx, _cache) {
4545
}), 128 /* KEYED_FRAGMENT */)),
4646
_createVNode(_component_UnknownElement)
4747
]),
48-
_: 1
48+
_: 1 /* STABLE */
4949
})
5050
]),
51-
_: 1
51+
_: 1 /* STABLE */
5252
})
5353
]),
54-
_: 1
54+
_: 1 /* STABLE */
5555
}))
5656
}
5757
}"

packages/compiler/__tests__/transforms/__snapshots__/vModel.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports[`compiler: transform v-model simple expression 1`] = `
55
66
return function render(_ctx, _cache) {
77
with (_ctx) {
8-
const { resolveComponent: _resolveComponent, vModel: _vModel, createVNode: _createVNode, withDirectives: _withDirectives, openBlock: _openBlock, createBlock: _createBlock } = _Vue
8+
const { resolveComponent: _resolveComponent, vModel: _vModel, withDirectives: _withDirectives, openBlock: _openBlock, createBlock: _createBlock } = _Vue
99
1010
const _component_TextField = _resolveComponent(\\"TextField\\")
1111

packages/compiler/__tests__/transforms/__snapshots__/vOn.spec.ts.snap

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
exports[`compiler: transform v-on should work w/ prefixIdentifiers: true 1`] = `
44
Object {
55
"key": Object {
6+
"constType": 3,
67
"content": "onTap",
7-
"isConstant": false,
8+
"isHandlerKey": true,
89
"isStatic": true,
910
"loc": Object {
1011
"end": Object {
@@ -52,8 +53,8 @@ Object {
5253
"properties": Array [
5354
Object {
5455
"key": Object {
56+
"constType": 3,
5557
"content": "handler",
56-
"isConstant": false,
5758
"isStatic": true,
5859
"loc": Object {
5960
"end": Object {
@@ -85,8 +86,8 @@ Object {
8586
},
8687
"type": 16,
8788
"value": Object {
89+
"constType": 0,
8890
"content": "_ctx.test",
89-
"isConstant": false,
9091
"isStatic": false,
9192
"loc": Object {
9293
"end": Object {
@@ -106,8 +107,8 @@ Object {
106107
},
107108
Object {
108109
"key": Object {
110+
"constType": 3,
109111
"content": "options",
110-
"isConstant": false,
111112
"isStatic": true,
112113
"loc": Object {
113114
"end": Object {
@@ -155,8 +156,8 @@ Object {
155156
"properties": Array [
156157
Object {
157158
"key": Object {
159+
"constType": 3,
158160
"content": "once",
159-
"isConstant": false,
160161
"isStatic": true,
161162
"loc": Object {
162163
"end": Object {
@@ -188,8 +189,8 @@ Object {
188189
},
189190
"type": 16,
190191
"value": Object {
192+
"constType": 0,
191193
"content": "true",
192-
"isConstant": false,
193194
"isStatic": false,
194195
"loc": Object {
195196
"end": Object {

packages/compiler/__tests__/transforms/__snapshots__/vShow.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports[`compiler: v-show transform simple expression 1`] = `
55
66
return function render(_ctx, _cache) {
77
with (_ctx) {
8-
const { resolveComponent: _resolveComponent, vShow: _vShow, createVNode: _createVNode, withDirectives: _withDirectives, openBlock: _openBlock, createBlock: _createBlock } = _Vue
8+
const { resolveComponent: _resolveComponent, vShow: _vShow, withDirectives: _withDirectives, openBlock: _openBlock, createBlock: _createBlock } = _Vue
99
1010
const _component_Label = _resolveComponent(\\"Label\\")
1111

0 commit comments

Comments
 (0)