Skip to content
Snippets Groups Projects
Unverified Commit 271aba2c authored by Adam Setch's avatar Adam Setch Committed by GitHub
Browse files

test(markdown): add example for GH issue link (#23160)

parent 7b82e8d9
No related branches found
No related tags found
No related merge requests found
...@@ -15,3 +15,4 @@ ...@@ -15,3 +15,4 @@
* @​user made their first contribution in https://github.com/foo/foo/pull/2 * @​user made their first contribution in https://github.com/foo/foo/pull/2
#### [Heading With Markdown Link](https://github.com/foo/foo/blob/HEAD/CHANGELOG.md#1234-2023-07-03) #### [Heading With Markdown Link](https://github.com/foo/foo/blob/HEAD/CHANGELOG.md#1234-2023-07-03)
* link to GH issue [#​1234](https://github.com/some/repo/issues/1234)
...@@ -54,6 +54,8 @@ describe('util/markdown', () => { ...@@ -54,6 +54,8 @@ describe('util/markdown', () => {
'#### New Contributors\n' + '#### New Contributors\n' +
'* @user made their first contribution in https://github.com/foo/foo/pull/2\n' + '* @user made their first contribution in https://github.com/foo/foo/pull/2\n' +
'#### [Heading With Markdown Link](https://github.com/foo/foo/blob/HEAD/CHANGELOG.md#1234-2023-07-03)' + '#### [Heading With Markdown Link](https://github.com/foo/foo/blob/HEAD/CHANGELOG.md#1234-2023-07-03)' +
'\n' +
'* link to GH issue [#1234](https://github.com/some/repo/issues/1234)' +
'\n'; '\n';
const expected = Fixtures.get('release-notes.txt'); const expected = Fixtures.get('release-notes.txt');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment