diff options
Diffstat (limited to 'spec/frontend/lib/utils/text_markdown_spec.js')
-rw-r--r-- | spec/frontend/lib/utils/text_markdown_spec.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/frontend/lib/utils/text_markdown_spec.js b/spec/frontend/lib/utils/text_markdown_spec.js index 1d616a7da0b..aca299aea0f 100644 --- a/spec/frontend/lib/utils/text_markdown_spec.js +++ b/spec/frontend/lib/utils/text_markdown_spec.js @@ -25,13 +25,13 @@ describe('init markdown', () => { insertMarkdownText({ textArea, text: textArea.value, - tag: '* ', + tag: '- ', blockTag: null, selected: '', wrap: false, }); - expect(textArea.value).toEqual(`${initialValue}* `); + expect(textArea.value).toEqual(`${initialValue}- `); }); it('inserts the tag on a new line if the current one is not empty', () => { @@ -43,13 +43,13 @@ describe('init markdown', () => { insertMarkdownText({ textArea, text: textArea.value, - tag: '* ', + tag: '- ', blockTag: null, selected: '', wrap: false, }); - expect(textArea.value).toEqual(`${initialValue}\n* `); + expect(textArea.value).toEqual(`${initialValue}\n- `); }); it('inserts the tag on the same line if the current line only contains spaces', () => { @@ -61,13 +61,13 @@ describe('init markdown', () => { insertMarkdownText({ textArea, text: textArea.value, - tag: '* ', + tag: '- ', blockTag: null, selected: '', wrap: false, }); - expect(textArea.value).toEqual(`${initialValue}* `); + expect(textArea.value).toEqual(`${initialValue}- `); }); it('inserts the tag on the same line if the current line only contains tabs', () => { @@ -79,13 +79,13 @@ describe('init markdown', () => { insertMarkdownText({ textArea, text: textArea.value, - tag: '* ', + tag: '- ', blockTag: null, selected: '', wrap: false, }); - expect(textArea.value).toEqual(`${initialValue}* `); + expect(textArea.value).toEqual(`${initialValue}- `); }); it('places the cursor inside the tags', () => { |