You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/options.md
+21
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,27 @@ shallowMount(Component, {
147
147
})
148
148
```
149
149
150
+
::: warning Root Element required
151
+
Due to the internal implementatioj of this feature, the slot content has to return a root element, even though a scoped slot is allowed to return an array of elements.
152
+
153
+
If you ever need this in a test, the recommended workaround is to wrap the component under test in another component and mount that one:
0 commit comments