summaryrefslogtreecommitdiff
path: root/spec/frontend/__mocks__/@gitlab/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/__mocks__/@gitlab/ui.js')
-rw-r--r--spec/frontend/__mocks__/@gitlab/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/__mocks__/@gitlab/ui.js b/spec/frontend/__mocks__/@gitlab/ui.js
index 7f893bf7ed7..d65fab80d3b 100644
--- a/spec/frontend/__mocks__/@gitlab/ui.js
+++ b/spec/frontend/__mocks__/@gitlab/ui.js
@@ -31,6 +31,6 @@ export const GlPopover = {
},
},
render(h) {
- return h('div', this.$attrs, this.$slots.default);
+ return h('div', this.$attrs, Object.keys(this.$slots).map(s => this.$slots[s]));
},
};