Skip to content

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Sep 29, 2025

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
@jsoref jsoref requested a review from a team as a code owner September 29, 2025 00:29
Copy link
Contributor Author

@jsoref jsoref left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fwiw, I'm using tooling to identify things to fix (previous PRs were more or less reading while running the tooling, whereas this is the first PR based on the precise complaints from the tooling).

t.test('files can link to root pages', async t => {
await testBuildDocs(t, {
content: { 'test.md': '[link](/test)' },
content: { 'test.md': '[Test](/test)' },
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand this is a test as opposed to something that's read by a real user/screen reader, but people have a tendency to copy and paste from tests -- treating them as sample code, so unless there's a good reason not to fix a test, I prefer to offer a fix for it too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, you're 100% right fixing even these.

@wraithgar wraithgar merged commit ac9143e into npm:latest Sep 29, 2025
25 checks passed
@jsoref jsoref deleted the links branch September 29, 2025 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants