diff options
Diffstat (limited to 'spec/frontend/content_editor/components/bubble_menus/link_spec.js')
-rw-r--r-- | spec/frontend/content_editor/components/bubble_menus/link_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/content_editor/components/bubble_menus/link_spec.js b/spec/frontend/content_editor/components/bubble_menus/link_spec.js index 5910b9c110d..ba6d8da9584 100644 --- a/spec/frontend/content_editor/components/bubble_menus/link_spec.js +++ b/spec/frontend/content_editor/components/bubble_menus/link_spec.js @@ -17,7 +17,7 @@ describe('content_editor/components/bubble_menus/link', () => { const buildEditor = () => { tiptapEditor = createTestEditor({ extensions: [Link] }); - contentEditor = { resolveLink: jest.fn() }; + contentEditor = { resolveUrl: jest.fn() }; eventHub = eventHubFactory(); }; @@ -175,7 +175,7 @@ describe('content_editor/components/bubble_menus/link', () => { linkHrefInput.setValue('https://google.com'); linkTitleInput.setValue('Search Google'); - contentEditor.resolveLink.mockResolvedValue('https://google.com'); + contentEditor.resolveUrl.mockResolvedValue('https://google.com'); await wrapper.findComponent(GlForm).vm.$emit('submit', createFakeEvent()); }); |