Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-04 21:09:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-04 21:09:51 +0300
commitbd979acf95124119d41f75d34cab231229f4dd81 (patch)
treea7ce5127c8ab6d42b27aa8342889c54d2f0090b2 /spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js
parent4bdfcf93f224edb9c4daff90d95b0c6c92766ea3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js')
-rw-r--r--spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js b/spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js
index 63a689088c7..dec2327db0f 100644
--- a/spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js
+++ b/spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js
@@ -122,13 +122,13 @@ describe('vue_shared/component/markdown/markdown_editor', () => {
it('enables content editor switcher when contentEditorEnabled prop is true', () => {
buildWrapper({ propsData: { enableContentEditor: true } });
- expect(findMarkdownField().text()).toContain('Rich text');
+ expect(findMarkdownField().text()).toContain('Switch to rich text');
});
it('hides content editor switcher when contentEditorEnabled prop is false', () => {
buildWrapper({ propsData: { enableContentEditor: false } });
- expect(findMarkdownField().text()).not.toContain('Rich text');
+ expect(findMarkdownField().text()).not.toContain('Switch to rich text');
});
it('passes down any additional props to markdown field component', () => {