diff options
Diffstat (limited to 'spec/frontend/__mocks__/@gitlab/ui.js')
-rw-r--r-- | spec/frontend/__mocks__/@gitlab/ui.js | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/spec/frontend/__mocks__/@gitlab/ui.js b/spec/frontend/__mocks__/@gitlab/ui.js index 6b3f1f01e6a..6f2888e5c42 100644 --- a/spec/frontend/__mocks__/@gitlab/ui.js +++ b/spec/frontend/__mocks__/@gitlab/ui.js @@ -41,10 +41,15 @@ jest.mock('@gitlab/ui/dist/components/base/popover/popover.js', () => ({ default: () => [], }, ...Object.fromEntries( - ['title', 'target', 'triggers', 'placement', 'boundary', 'container'].map((prop) => [ - prop, - {}, - ]), + [ + 'title', + 'target', + 'triggers', + 'placement', + 'boundary', + 'container', + 'showCloseButton', + ].map((prop) => [prop, {}]), ), }, render(h) { |