1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Vitest Snapshot v1
2
2
3
- exports [` sfc props transform $$() escape 1` ] = `
3
+ exports [` sfc props transform > $$() escape 1` ] = `
4
4
"import { toRef as _toRef } from 'vue'
5
5
6
6
export default {
@@ -20,8 +20,8 @@ return () => {}
20
20
} "
21
21
` ;
22
22
23
- exports [` sfc props transform aliasing 1` ] = `
24
- "import { toDisplayString as _toDisplayString } from "vue"
23
+ exports [` sfc props transform > aliasing 1` ] = `
24
+ "import { toDisplayString as _toDisplayString } from \\ "vue\\ "
25
25
26
26
27
27
export default {
@@ -40,8 +40,8 @@ return (_ctx, _cache) => {
40
40
} "
41
41
` ;
42
42
43
- exports [` sfc props transform basic usage 1` ] = `
44
- "import { toDisplayString as _toDisplayString } from "vue"
43
+ exports [` sfc props transform > basic usage 1` ] = `
44
+ "import { toDisplayString as _toDisplayString } from \\ "vue\\ "
45
45
46
46
47
47
export default {
@@ -59,8 +59,8 @@ return (_ctx, _cache) => {
59
59
} "
60
60
` ;
61
61
62
- exports [` sfc props transform computed static key 1` ] = `
63
- "import { toDisplayString as _toDisplayString } from "vue"
62
+ exports [` sfc props transform > computed static key 1` ] = `
63
+ "import { toDisplayString as _toDisplayString } from \\ "vue\\ "
64
64
65
65
66
66
export default {
@@ -78,7 +78,7 @@ return (_ctx, _cache) => {
78
78
} "
79
79
` ;
80
80
81
- exports [` sfc props transform default values w/ runtime declaration 1` ] = `
81
+ exports [` sfc props transform > default values w/ runtime declaration 1` ] = `
82
82
"import { mergeDefaults as _mergeDefaults } from 'vue'
83
83
84
84
export default {
@@ -96,7 +96,7 @@ return () => {}
96
96
} "
97
97
` ;
98
98
99
- exports [` sfc props transform default values w/ type declaration 1` ] = `
99
+ exports [` sfc props transform > default values w/ type declaration 1` ] = `
100
100
"import { defineComponent as _defineComponent } from 'vue'
101
101
102
102
export default /*#__PURE__*/_defineComponent({
@@ -114,7 +114,7 @@ return () => {}
114
114
} )"
115
115
` ;
116
116
117
- exports [` sfc props transform default values w/ type declaration, prod mode 1` ] = `
117
+ exports [` sfc props transform > default values w/ type declaration, prod mode 1` ] = `
118
118
"import { defineComponent as _defineComponent } from 'vue'
119
119
120
120
export default /*#__PURE__*/_defineComponent({
@@ -136,8 +136,8 @@ return () => {}
136
136
} )"
137
137
` ;
138
138
139
- exports [` sfc props transform multiple variable declarations 1` ] = `
140
- "import { toDisplayString as _toDisplayString , openBlock as _openBlock , createElementBlock as _createElementBlock } from "vue"
139
+ exports [` sfc props transform > multiple variable declarations 1` ] = `
140
+ "import { toDisplayString as _toDisplayString , openBlock as _openBlock , createElementBlock as _createElementBlock } from \\ "vue\\ "
141
141
142
142
143
143
export default {
@@ -147,14 +147,14 @@ export default {
147
147
const bar = 'fish', hello = 'world'
148
148
149
149
return (_ctx , _cache ) => {
150
- return (_openBlock (), _createElementBlock (" div" , null , _toDisplayString (__props .foo ) + " " + _toDisplayString (hello ) + " " + _toDisplayString (bar ), 1 /* TEXT */ ))
150
+ return (_openBlock (), _createElementBlock (\\ " div\\ " , null , _toDisplayString (__props .foo ) + \\ " \\ " + _toDisplayString (hello ) + \\ " \\ " + _toDisplayString (bar ), 1 /* TEXT */ ))
151
151
}
152
152
}
153
153
154
154
} "
155
155
` ;
156
156
157
- exports [` sfc props transform nested scope 1` ] = `
157
+ exports [` sfc props transform > nested scope 1` ] = `
158
158
"export default {
159
159
props : [' foo' , ' bar' ],
160
160
setup (__props ) {
@@ -171,33 +171,33 @@ return () => {}
171
171
} "
172
172
` ;
173
173
174
- exports [` sfc props transform non-identifier prop names 1` ] = `
175
- "import { toDisplayString as _toDisplayString } from "vue"
174
+ exports [` sfc props transform > non-identifier prop names 1` ] = `
175
+ "import { toDisplayString as _toDisplayString } from \\ "vue\\ "
176
176
177
177
178
178
export default {
179
179
props : { ' foo.bar' : Function },
180
180
setup (__props ) {
181
181
182
182
183
- let x = __props["foo.bar"]
183
+ let x = __props[\\ "foo.bar\\ "]
184
184
185
185
return (_ctx , _cache ) => {
186
- return _toDisplayString (__props [" foo.bar" ])
186
+ return _toDisplayString (__props [\\ " foo.bar\\ " ])
187
187
}
188
188
}
189
189
190
190
} "
191
191
` ;
192
192
193
- exports [` sfc props transform rest spread 1` ] = `
193
+ exports [` sfc props transform > rest spread 1` ] = `
194
194
"import { createPropsRestProxy as _createPropsRestProxy } from 'vue'
195
195
196
196
export default {
197
197
props : [' foo' , ' bar' , ' baz' ],
198
198
setup (__props ) {
199
199
200
- const rest = _createPropsRestProxy(__props , ["foo ", "bar "]);
200
+ const rest = _createPropsRestProxy(__props , [\\ "foo \\",\\ "bar \\ "]);
201
201
202
202
203
203
0 commit comments