diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-28 12:08:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-28 12:08:25 +0300 |
commit | 5eab6dcdd923ca375b86d6993f20a3e37dbd7a51 (patch) | |
tree | cefd095312ba2dbaad845b699f42ed73df728e46 /spec/frontend/pages | |
parent | d3eb1e90a58fc97c9c1548e8ac9631c233e723ea (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pages')
-rw-r--r-- | spec/frontend/pages/shared/wikis/components/wiki_form_spec.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/frontend/pages/shared/wikis/components/wiki_form_spec.js b/spec/frontend/pages/shared/wikis/components/wiki_form_spec.js index ffcfd1d9f78..53c87a62940 100644 --- a/spec/frontend/pages/shared/wikis/components/wiki_form_spec.js +++ b/spec/frontend/pages/shared/wikis/components/wiki_form_spec.js @@ -116,7 +116,6 @@ describe('WikiForm', () => { expect.objectContaining({ value: pageInfoPersisted.content, renderMarkdownPath: pageInfoPersisted.markdownPreviewPath, - markdownDocsPath: pageInfoPersisted.markdownHelpPath, uploadsPath: pageInfoPersisted.uploadsPath, autofocus: pageInfoPersisted.persisted, }), @@ -126,6 +125,10 @@ describe('WikiForm', () => { id: 'wiki_content', name: 'wiki[content]', }); + + expect(markdownEditor.vm.$attrs['markdown-docs-path']).toEqual( + pageInfoPersisted.markdownHelpPath, + ); }); it.each` @@ -172,7 +175,7 @@ describe('WikiForm', () => { nextTick(); - expect(findMarkdownEditor().props('enablePreview')).toBe(enabled); + expect(findMarkdownEditor().vm.$attrs['enable-preview']).toBe(enabled); }); it.each` |