Skip to content

Commit

Permalink
add tests for #348
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed Oct 2, 2024
1 parent 1f6b435 commit fc3dff0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/hash-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,9 @@ Whitespaces separated by special characters (no workaround)
Consequent whitespaces typo (easy to workaround)

[Client/server examples using `network.peer.*`](#clientserver-examples-using--networkpeer)

## This header is [linked](#somewhere)

This is a [link to a linked header](#this-header-is-linked)

### Somewhere
2 changes: 2 additions & 0 deletions test/markdown-link-check.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ describe('markdown-link-check', function () {
{ link: '#product-owner--design-approval', statusCode: 200, err: null, status: 'alive' },
{ link: '#migrating-from--v1180', statusCode: 200, err: null, status: 'alive' },
{ link: '#clientserver-examples-using--networkpeer', statusCode: 200, err: null, status: 'alive' },
{ link: '#somewhere', statusCode: 200, err: null, status: 'alive' },
{ link: '#this-header-is-linked', statusCode: 200, err: null, status: 'alive' },
]);
done();
});
Expand Down

0 comments on commit fc3dff0

Please sign in to comment.