Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore(link): Test
Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref committed Sep 29, 2025
commit fb8fe8fdf7ee7b0da76c73f19625e373e67d85ca
2 changes: 1 addition & 1 deletion docs/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ t.test('html', async t => {
// but we test for coverage
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.

nav: '- url: /test',
})
})
Expand Down
Loading