mirror of
https://github.com/tcort/markdown-link-check.git
synced 2024-09-11 06:45:29 +03:00
Merge pull request #306 from dklimpel/enable_test_hash_links
enable skipped tests for hash links
This commit is contained in:
commit
2b0095f270
@ -340,7 +340,7 @@ describe('markdown-link-check', function () {
|
||||
done();
|
||||
});
|
||||
});
|
||||
it.skip('check hash links', function (done) {
|
||||
it('check hash links', function (done) {
|
||||
markdownLinkCheck(fs.readFileSync(path.join(__dirname, 'hash-links.md')).toString(), {}, function (err, result) {
|
||||
expect(err).to.be(null);
|
||||
expect(result).to.eql([
|
||||
@ -348,6 +348,7 @@ describe('markdown-link-check', function () {
|
||||
{ link: '#bar', statusCode: 200, err: null, status: 'alive' },
|
||||
{ link: '#potato', statusCode: 404, err: null, status: 'dead' },
|
||||
{ link: '#tomato', statusCode: 404, err: null, status: 'dead' },
|
||||
{ link: '#header-with-special-char-', statusCode: 404, err: null, status: 'dead' },
|
||||
]);
|
||||
done();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user