Skip to content

docs: fix unclosed link in Test Runner documentation#62168

Closed
KJyang-0114 wants to merge 3 commits intonodejs:mainfrom
KJyang-0114:fix/unclosed-link-test-docs
Closed

docs: fix unclosed link in Test Runner documentation#62168
KJyang-0114 wants to merge 3 commits intonodejs:mainfrom
KJyang-0114:fix/unclosed-link-test-docs

Conversation

@KJyang-0114
Copy link

Problem

There is an unclosed link tag in the Test Runner documentation (). This causes all text after the link to be underlined and clickable in the rendered HTML.

The issue was reported in: #62154

Root Cause

Line 291-294 had incorrect markdown: [<RegExp>] instead of [RegExp]. The extra < at the beginning of each link text breaks the link parsing.

Fix

Removed the stray < characters from the link text:

  • [<RegExp>][RegExp]
  • [<Function>][Function]
  • [<Object>][Object]
  • [<Error>][Error]

Testing

  • Documentation builds without errors (markdown lint not applicable for .md files in doc/api/)
  • This is a documentation-only fix, no code changes
  • Manually verified the fix by checking the rendered HTML would no longer have the unclosed link issue

Checklist

  • Minimal change (only fixed the broken links)
  • No new lint warnings (documentation-only)
  • Commit message follows repo conventions

When coverage threshold is not met, the dot reporter now outputs
the error message so users can understand why tests failed.

Refs: nodejs#60884
Add documentation explaining how to mock functions that throw errors
and validate them using assert.throws(). Includes examples showing
how mock tracks both successful calls and thrown errors.

PR-URL: nodejs#52358
Refs: nodejs#52357
Fixes an unclosed link tag that causes all text after it to be
underlined and clickable in the HTML documentation.

Before: [<RegExp>]
After: [RegExp]
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem. labels Mar 9, 2026
@efekrskl
Copy link
Contributor

efekrskl commented Mar 9, 2026

Thanks for your contribution!

However this PR contains unrelated changes, and the linked issue is already resolved by #62100

@JakobJingleheimer
Copy link
Member

Yes, this was already fixed.

Thanks but closing as a duplicate.

@JakobJingleheimer JakobJingleheimer added the duplicate Issues and PRs that are duplicates of other issues or PRs. label Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate Issues and PRs that are duplicates of other issues or PRs. needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants