From 465fd8f5c532b925a8bdb5195f138c1e8b124386 Mon Sep 17 00:00:00 2001 From: dklimpel <5740567+dklimpel@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:14:08 +0100 Subject: [PATCH] enable skiped tests for hash links --- test/markdown-link-check.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/markdown-link-check.test.js b/test/markdown-link-check.test.js index 57bed42..d995e5d 100644 --- a/test/markdown-link-check.test.js +++ b/test/markdown-link-check.test.js @@ -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(); });