@@ -63,6 +63,12 @@ _createVNode(_Fragment, null, [_withDirectives(_createVNode(_resolveComponent("A
63
63
} ]])]);"
64
64
` ;
65
65
66
+ exports [` directive in scope > directive in scope 1` ] = `
67
+ "import { resolveComponent as _resolveComponent , createVNode as _createVNode , withDirectives as _withDirectives } from "vue";
68
+ const vXxx = { } ;
69
+ _withDirectives(_createVNode(_resolveComponent("A"), null, null, 512), [[vXxx]]);"
70
+ ` ;
71
+
66
72
exports [` disable object slot syntax with defaultSlot > defaultSlot 1` ] = `
67
73
"import { resolveComponent as _resolveComponent , createVNode as _createVNode } from "vue";
68
74
_createVNode(_resolveComponent("Badge"), null, {
@@ -153,6 +159,31 @@ exports[`override props single > single 1`] = `
153
159
_createVNode("div", a, null);"
154
160
` ;
155
161
162
+ exports [` passing object slots via JSX children directive in slot > directive in slot 1` ] = `
163
+ "import { Fragment as _Fragment , resolveDirective as _resolveDirective , createVNode as _createVNode , withDirectives as _withDirectives , resolveComponent as _resolveComponent } from "vue";
164
+ _createVNode(_Fragment, null, [_createVNode(_resolveComponent("A"), null, {
165
+ default : () => [_withDirectives (_createVNode (" div" , null , null , 512 ), [[_resolveDirective (" xxx" )]]), foo ]
166
+ } ), _createVNode(_resolveComponent("A"), null, {
167
+ default : () => [_createVNode (_resolveComponent (" B" ), null , {
168
+ default : () => [_withDirectives (_createVNode (" div" , null , null , 512 ), [[_resolveDirective (" xxx" )]]), foo ]
169
+ })]
170
+ } )]);"
171
+ ` ;
172
+
173
+ exports [` passing object slots via JSX children directive in slot, in scope > directive in slot, in scope 1` ] = `
174
+ "import { Fragment as _Fragment , createVNode as _createVNode , withDirectives as _withDirectives , resolveComponent as _resolveComponent } from "vue";
175
+ const vXxx = { } ;
176
+ _createVNode(_Fragment, null, [_createVNode(_resolveComponent("A"), null, {
177
+ default : () => [_withDirectives (_createVNode (" div" , null , null , 512 ), [[vXxx ]]), foo ],
178
+ _ : 1
179
+ } ), _createVNode(_resolveComponent("A"), null, {
180
+ default : () => [_createVNode (_resolveComponent (" B" ), null , {
181
+ default : () => [_withDirectives (_createVNode (" div" , null , null , 512 ), [[vXxx ]]), foo ],
182
+ _: 1
183
+ })]
184
+ } )]);"
185
+ ` ;
186
+
156
187
exports [` passing object slots via JSX children multiple expressions > multiple expressions 1` ] = `
157
188
"import { resolveComponent as _resolveComponent , createVNode as _createVNode } from "vue";
158
189
_createVNode(_resolveComponent("A"), null, {
@@ -161,6 +192,19 @@ _createVNode(_resolveComponent("A"), null, {
161
192
} );"
162
193
` ;
163
194
195
+ exports [` passing object slots via JSX children no directive in slot > no directive in slot 1` ] = `
196
+ "import { Fragment as _Fragment , createVNode as _createVNode , resolveComponent as _resolveComponent } from "vue";
197
+ _createVNode(_Fragment, null, [_createVNode(_resolveComponent("A"), null, {
198
+ default : () => [_createVNode (" div" , null , null ), foo ],
199
+ _ : 1
200
+ } ), _createVNode(_resolveComponent("A"), null, {
201
+ default : () => [_createVNode (_resolveComponent (" B" ), null , {
202
+ default : () => [_createVNode (" div" , null , null ), foo ],
203
+ _: 1
204
+ })]
205
+ } )]);"
206
+ ` ;
207
+
164
208
exports [` passing object slots via JSX children single expression, function expression > single expression, function expression 1` ] = `
165
209
"import { resolveComponent as _resolveComponent , createVNode as _createVNode } from "vue";
166
210
_createVNode(_resolveComponent("A"), null, {
0 commit comments