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>2021-08-23 12:10:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-23 12:10:23 +0300
commita95a8847071680f16dbd7c0c0511f6492d00fc45 (patch)
tree1640e03fec815b8d11c992c64230a4d64929ac04 /spec/frontend
parenta5549176e1fb5780fa68778571f0eda563dcf090 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend')
-rw-r--r--spec/frontend/lib/utils/text_markdown_spec.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/frontend/lib/utils/text_markdown_spec.js b/spec/frontend/lib/utils/text_markdown_spec.js
index 9fe2780fde2..beedb9b2eba 100644
--- a/spec/frontend/lib/utils/text_markdown_spec.js
+++ b/spec/frontend/lib/utils/text_markdown_spec.js
@@ -70,25 +70,6 @@ describe('init markdown', () => {
expect(textArea.value).toContain('# Does not parse the `$` currently.');
});
- it('inserts a new line correctly', () => {
- const initialValue = '';
-
- textArea.value = initialValue;
- textArea.selectionStart = 0;
- textArea.selectionEnd = 0;
-
- insertMarkdownText({
- textArea,
- text: textArea.value,
- tag: '```suggestion:-0+0\n{text}\n```',
- blockTag: true,
- selected: '# Does not parse the \\n currently.',
- wrap: false,
- });
-
- expect(textArea.value).toContain('# Does not parse the \\n currently.');
- });
-
it('inserts the tag on a new line if the current one is not empty', () => {
const initialValue = 'some text';