diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-10 21:13:10 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-10 21:13:10 +0000 |
| commit | d9710d79c52bc73438022e79c79cfe3ab35b084b (patch) | |
| tree | 4ccba377283753036ad28a75d061f7ee61afa806 /spec/frontend/content_editor/components | |
| parent | 20a86e7f6fd58882025b1c85b21e891d75220da5 (diff) | |
| download | gitlab-ce-d9710d79c52bc73438022e79c79cfe3ab35b084b.tar.gz | |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/content_editor/components')
| -rw-r--r-- | spec/frontend/content_editor/components/bubble_menus/bubble_menu_spec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/frontend/content_editor/components/bubble_menus/bubble_menu_spec.js b/spec/frontend/content_editor/components/bubble_menus/bubble_menu_spec.js index 271e63abf21..97716ce848c 100644 --- a/spec/frontend/content_editor/components/bubble_menus/bubble_menu_spec.js +++ b/spec/frontend/content_editor/components/bubble_menus/bubble_menu_spec.js @@ -64,10 +64,12 @@ describe('content_editor/components/bubble_menus/bubble_menu', () => { tippyOptions: expect.objectContaining({ onHidden: expect.any(Function), onShow: expect.any(Function), + appendTo: expect.any(Function), ...tippyOptions, }), }); + expect(BubbleMenuPlugin.mock.calls[0][0].tippyOptions.appendTo()).toBe(document.body); expect(tiptapEditor.registerPlugin).toHaveBeenCalledWith(pluginInitializationResult); }); |
